summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorAndré Klitzing <aklitzing@gmail.com>2014-11-14 18:01:17 +0100
committerAndré Klitzing <aklitzing@gmail.com>2014-11-23 00:47:24 +0100
commitc6e21eb673a7c3e4abcf90bd3bad1ec0890d6b5f (patch)
treea963c010cf1ee45d29ce4179ab0f2478bbea92f1 /src/network
parent32b7eb8e986b8e30fe68d91c7a30bbc5a95593bd (diff)
SSL: Fix sslConfiguration in encrypted slot
If "encrypted" signal is fired the configuration of ssl is not updated. If someone wants to perform additional checks on the certificate chain it is now possible to use peerCertificate and peerCertificateChain. Change-Id: Id5136a8c52727562c36028eaef721cc9ad86619d Task-number: QTBUG-40401 Reviewed-by: Richard J. Moore <rich@kde.org>
Diffstat (limited to 'src/network')
-rw-r--r--src/network/access/qhttpthreaddelegate.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/access/qhttpthreaddelegate.cpp b/src/network/access/qhttpthreaddelegate.cpp
index 524042add6..4e1d24280b 100644
--- a/src/network/access/qhttpthreaddelegate.cpp
+++ b/src/network/access/qhttpthreaddelegate.cpp
@@ -644,6 +644,7 @@ void QHttpThreadDelegate::encryptedSlot()
if (!httpReply)
return;
+ emit sslConfigurationChanged(httpReply->sslConfiguration());
emit encrypted();
}