Skip to content

Commit

Permalink
Merge pull request #92 from ejvr/emqtt
Browse files Browse the repository at this point in the history
Bugfix: SSL errors caused by self signed certificates are now ignored if the ignoreSelfSigned options is used.
  • Loading branch information
mwallnoefer authored Feb 27, 2017
2 parents b0eece3 + 69fd712 commit 700462a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mqtt/qmqtt_ssl_socket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ void QMQTT::SslSocket::sslErrors(const QList<QSslError> &errors)
return;
for (QSslError error: errors)
{
if (error.error() != QSslError::SelfSignedCertificate ||
if (error.error() != QSslError::SelfSignedCertificate &&
error.error() != QSslError::SelfSignedCertificateInChain)
{
return;
Expand Down

0 comments on commit 700462a

Please sign in to comment.