tst_QSslKey: remove blacklist
And do not run the test with QSslSocket::supportsSsl() returns false - this may mean unresolved symbols and thus missing functionality, like i2d_X509 etc. This also makes cases more like other, that already had those checks. Fixes: QTBUG-87386 Change-Id: If4e9a650ca325b6f70956f532891a4c1d50465c0 Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
parent
d545fbb61b
commit
bf7cec737f
@ -6,9 +6,3 @@ rhel
|
||||
rhel
|
||||
[toPemOrDer]
|
||||
rhel
|
||||
|
||||
# QTBUG-87386
|
||||
[passphraseChecks]
|
||||
android
|
||||
[noPassphraseChecks]
|
||||
android
|
||||
|
@ -515,6 +515,9 @@ void tst_QSslKey::toEncryptedPemOrDer()
|
||||
|
||||
void tst_QSslKey::passphraseChecks_data()
|
||||
{
|
||||
if (!QSslSocket::supportsSsl())
|
||||
QSKIP("This test requires a working TLS library");
|
||||
|
||||
QTest::addColumn<QString>("fileName");
|
||||
QTest::addColumn<QByteArray>("passphrase");
|
||||
|
||||
@ -574,6 +577,9 @@ void tst_QSslKey::passphraseChecks()
|
||||
|
||||
void tst_QSslKey::noPassphraseChecks()
|
||||
{
|
||||
if (!QSslSocket::supportsSsl())
|
||||
QSKIP("This test requires a working TLS library");
|
||||
|
||||
// be sure and check a key without passphrase too
|
||||
QString fileName(testDataDir + "rsa-without-passphrase.pem");
|
||||
QFile keyFile(fileName);
|
||||
|
Loading…
x
Reference in New Issue
Block a user