Skip diffie-hellman parameter test when not supported
Pick-to: 6.5 Change-Id: I0c21aeea813ee48f8c62689dafce6f7fb9620001 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
This commit is contained in:
parent
baba1f1b39
commit
c891d16490
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user