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>
This commit is contained in:
André Klitzing 2014-11-14 18:01:17 +01:00
parent 32b7eb8e98
commit c6e21eb673

View File

@ -644,6 +644,7 @@ void QHttpThreadDelegate::encryptedSlot()
if (!httpReply) if (!httpReply)
return; return;
emit sslConfigurationChanged(httpReply->sslConfiguration());
emit encrypted(); emit encrypted();
} }