Fix TlsV1SslV3 case in the WinRT SSL backend
It would previously only enable TLS v1.0, but it should also enable SSL v3. According to Microsoft's documentation[0] that is exactly what "SocketProtectionLevel_Ssl" does. [0]: https://docs.microsoft.com/en-us/uwp/api/windows.networking.sockets.socketprotectionlevel Change-Id: Id48f1ad310d994b8379116c9fa2102db858d7f69 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>bb10
parent
1b109dbd91
commit
1c92bb87fe
|
|
@ -236,9 +236,9 @@ void QSslSocketBackendPrivate::startClientEncryption()
|
|||
switch (q->protocol()) {
|
||||
case QSsl::AnyProtocol:
|
||||
case QSsl::SslV3:
|
||||
case QSsl::TlsV1SslV3:
|
||||
protectionLevel = SocketProtectionLevel_Ssl; // Only use this value if weak cipher support is required
|
||||
break;
|
||||
case QSsl::TlsV1SslV3:
|
||||
case QSsl::TlsV1_0:
|
||||
protectionLevel = SocketProtectionLevel_Tls10;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue