Skip to content

Commit

Permalink
Skip diffie-hellman parameter test when not supported
Browse files Browse the repository at this point in the history
Pick-to: 6.5
Change-Id: I0c21aeea813ee48f8c62689dafce6f7fb9620001
Reviewed-by: Timur Pocheptsov <[email protected]>
Reviewed-by: Edward Welbourne <[email protected]>
  • Loading branch information
Morten242 committed May 24, 2023
1 parent baba1f1 commit c891d16
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/auto/network/ssl/qsslsocket/tst_qsslsocket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3510,6 +3510,8 @@ void tst_QSslSocket::dhServerCustomParams()
{
if (!QSslSocket::supportsSsl())
QSKIP("No SSL support");
if (!QSslSocket::isClassImplemented(QSsl::ImplementedClass::DiffieHellman))
QSKIP("The current backend doesn't support diffie hellman parameters");

QFETCH_GLOBAL(bool, setProxy);
if (setProxy)
Expand Down

0 comments on commit c891d16

Please sign in to comment.