Commit 23173c72 authored by Timur Pocheptsov's avatar Timur Pocheptsov
Browse files

QSslSocket (OpenSSL) - handle abort/close on sslErrors emitted


If a user's code, attached to sslErrors signal, calls abort/close
or disconnectFromHost but our SSL socket was configured not to verify a peer,
no need to continue handshake after calling checkSslErrors
(and finally crashing on invalid 'ssl' pointer).

Task-number: QTBUG-53906
Change-Id: I7f185511d278f9d6f16e7d6c5ba424707141459c
Reviewed-by: default avatarEdward Welbourne <edward.welbourne@qt.io>
Reviewed-by: default avatarTimur Pocheptsov <timur.pocheptsov@theqtcompany.com>
parent e969e6d2
No related merge requests found
Showing with 32 additions and 0 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment