diff options
author | Mårten Nordheim <marten.nordheim@qt.io> | 2022-10-27 17:14:14 +0200 |
---|---|---|
committer | Mårten Nordheim <marten.nordheim@qt.io> | 2022-10-28 15:47:08 +0200 |
commit | b973da4b62e3e9747f098b53ef38cb735562bed9 (patch) | |
tree | 0db8aec063338f39591b3d81fc50419eb91182a8 /tests | |
parent | fc43ded7a141aae01f8967ad1f78d97903973952 (diff) |
tst_QSslServer: Make the in-process server use TLS1.2
Because OpenSSL 3 doesn't want to do anything lower by default.
This was already done for Qt 6.3+ when TLS 1.0 and 1.1 were marked
as deprecated.
Change-Id: Ie64f1fed63f5ae7262ec5dee8979720c9d82bbf5
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/network/ssl/qsslsocket/tst_qsslsocket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/network/ssl/qsslsocket/tst_qsslsocket.cpp b/tests/auto/network/ssl/qsslsocket/tst_qsslsocket.cpp index 010cc5d45c..0b3ca27abf 100644 --- a/tests/auto/network/ssl/qsslsocket/tst_qsslsocket.cpp +++ b/tests/auto/network/ssl/qsslsocket/tst_qsslsocket.cpp @@ -1202,7 +1202,7 @@ public: config(QSslConfiguration::defaultConfiguration()), ignoreSslErrors(true), peerVerifyMode(QSslSocket::AutoVerifyPeer), - protocol(QSsl::TlsV1_0), + protocol(QSsl::TlsV1_2), m_keyFile(keyFile), m_certFile(certFile), m_interFile(interFile) |