-
Bug
-
Resolution: Done
-
P2: Important
-
5.10.0
-
None
-
59df474e13b28efdfff2495e1d1abe6724d97c71
Try connecting via QSslSocket::connectionToHostEncrypted with no openssl binaries available. You will get this signal sequence:
1. QSslSocket::error saying "Error creating SSL context ()".
2. QSslSocket::disconnected
3. QSslSocket::error saying "Unable to init SSL Context: ".
Which is fine.
But right after that you will get
4. QSslSocket::connected.
In slot, connected to QSslSocket::connected signal, socket is in QAbstractSocket::UnconnectedState state.
| For Gerrit Dashboard: QTBUG-65142 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 229524,4 | QSslSocket - bail out early if TLS initialization fails | dev | qt/qtbase | Status: MERGED | +2 | 0 |