diff options
Diffstat (limited to 'src/plugins/tls/openssl/qdtls_openssl.cpp')
| -rw-r--r-- | src/plugins/tls/openssl/qdtls_openssl.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/tls/openssl/qdtls_openssl.cpp b/src/plugins/tls/openssl/qdtls_openssl.cpp index 55a82f7fd4f..d8b850f5760 100644 --- a/src/plugins/tls/openssl/qdtls_openssl.cpp +++ b/src/plugins/tls/openssl/qdtls_openssl.cpp @@ -1421,9 +1421,12 @@ void QDtlsPrivateOpenSSL::fetchNegotiatedParameters() // TLS 1.2, that's how it's set by OpenSSL (and that's what they are?). switch (q_SSL_version(dtls.tlsConnection.data())) { +QT_WARNING_PUSH +QT_WARNING_DISABLE_DEPRECATED case DTLS1_VERSION: sessionProtocol = QSsl::DtlsV1_0; break; +QT_WARNING_POP case DTLS1_2_VERSION: sessionProtocol = QSsl::DtlsV1_2; break; |
