Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.5.0
-
None
-
Qt 5.5.0 on Ubuntu 14.04
-
0d3c8feeeb3c49d01bcfbca63b672e20ab29aa9f
Description
When establishing a connection using SslProtocol::TlsV1_1OrLater the SNI is not sent.
Looking at the code this seems to be a migration issue when introducing new SslProtocol values:
if ((configuration.protocol == QSsl::TlsV1SslV3 || configuration.protocol == QSsl::TlsV1_0 || configuration.protocol == QSsl::TlsV1_1 || configuration.protocol == QSsl::TlsV1_2 || configuration.protocol == QSsl::SecureProtocols || configuration.protocol == QSsl::AnyProtocol) && mode == QSslSocket::SslClientMode && q_SSLeay() >= 0x00090806fL) { ... // set SNI }
see: https://github.com/qtproject/qtbase/blob/dev/src/network/ssl/qsslsocket_openssl.cpp#L383
Attachments
For Gerrit Dashboard: QTBUG-47528 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
122440,2 | Fix SNI for TlsV1_0OrLater, TlsV1_1OrLater and TlsV1_2OrLater | 5.5 | qt/qtbase | Status: MERGED | +2 | 0 |