Remove tests for some algos (mainly ephemeral Diffie Hellman)

that aren't reliably supported by OpenSSL (i.e. some versions
do, but later versions often don't).

This test will always be a bit brittle, because distros can
customise the build of OpenSSL so much.

svn path=/trunk/kdesupport/qca/; revision=707705
This commit is contained in:
Brad Hards 2007-09-02 18:47:40 +00:00
parent 1593c91244
commit d630a8ccd2

View File

@ -65,18 +65,11 @@ void TLSUnitTest::testCipherList()
QVERIFY( cipherList.contains("TLS_DHE_RSA_WITH_AES_128_CBC_SHA") );
QVERIFY( cipherList.contains("TLS_DHE_DSS_WITH_AES_128_CBC_SHA") );
QVERIFY( cipherList.contains("TLS_RSA_WITH_AES_128_CBC_SHA") );
QVERIFY( cipherList.contains("TLS_CK_DHE_DSS_WITH_RC4_128_SHA") );
QVERIFY( cipherList.contains("TLS_RSA_WITH_RC4_128_SHA") );
QVERIFY( cipherList.contains("TLS_RSA_WITH_RC4_128_MD5") );
QVERIFY( cipherList.contains("TLS_CK_DHE_DSS_EXPORT1024_WITH_DES_CBC_SHA") );
QVERIFY( cipherList.contains("TLS_CK_RSA_EXPORT1024_WITH_DES_CBC_SHA") );
QVERIFY( cipherList.contains("TLS_CK_RSA_EXPORT1024_WITH_RC2_CBC_56_MD5") );
QVERIFY( cipherList.contains("TLS_DHE_RSA_WITH_DES_CBC_SHA") );
QVERIFY( cipherList.contains("TLS_DHE_DSS_WITH_DES_CBC_SHA") );
QVERIFY( cipherList.contains("TLS_RSA_WITH_DES_CBC_SHA") );
QVERIFY( cipherList.contains("TLS_CK_DHE_DSS_EXPORT1024_WITH_RC4_56_SHA") );
QVERIFY( cipherList.contains("TLS_CK_RSA_EXPORT1024_WITH_RC4_56_SHA") );
QVERIFY( cipherList.contains("TLS_CK_RSA_EXPORT1024_WITH_RC4_56_MD5") );
QVERIFY( cipherList.contains("TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA") );
QVERIFY( cipherList.contains("TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA") );
QVERIFY( cipherList.contains("TLS_RSA_EXPORT_WITH_DES40_CBC_SHA") );
@ -93,18 +86,11 @@ void TLSUnitTest::testCipherList()
QVERIFY( cipherList.contains("SSL_DHE_RSA_WITH_AES_128_CBC_SHA") );
QVERIFY( cipherList.contains("SSL_DHE_DSS_WITH_AES_128_CBC_SHA") );
QVERIFY( cipherList.contains("SSL_RSA_WITH_AES_128_CBC_SHA") );
QVERIFY( cipherList.contains("SSL_CK_DHE_DSS_WITH_RC4_128_SHA") );
QVERIFY( cipherList.contains("SSL_RSA_WITH_RC4_128_SHA") );
QVERIFY( cipherList.contains("SSL_RSA_WITH_RC4_128_MD5") );
QVERIFY( cipherList.contains("SSL_CK_DHE_DSS_EXPORT1024_WITH_DES_CBC_SHA") );
QVERIFY( cipherList.contains("SSL_CK_RSA_EXPORT1024_WITH_DES_CBC_SHA") );
QVERIFY( cipherList.contains("SSL_CK_RSA_EXPORT1024_WITH_RC2_CBC_56_MD5") );
QVERIFY( cipherList.contains("SSL_DHE_RSA_WITH_DES_CBC_SHA") );
QVERIFY( cipherList.contains("SSL_DHE_DSS_WITH_DES_CBC_SHA") );
QVERIFY( cipherList.contains("SSL_RSA_WITH_DES_CBC_SHA") );
QVERIFY( cipherList.contains("SSL_CK_DHE_DSS_EXPORT1024_WITH_RC4_56_SHA") );
QVERIFY( cipherList.contains("SSL_CK_RSA_EXPORT1024_WITH_RC4_56_SHA") );
QVERIFY( cipherList.contains("SSL_CK_RSA_EXPORT1024_WITH_RC4_56_MD5") );
QVERIFY( cipherList.contains("SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA") );
QVERIFY( cipherList.contains("SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA") );
QVERIFY( cipherList.contains("SSL_RSA_EXPORT_WITH_DES40_CBC_SHA") );
@ -116,7 +102,6 @@ void TLSUnitTest::testCipherList()
QVERIFY( cipherList.contains("SSL_CK_RC4_128_EXPORT40_WITH_MD5") );
QVERIFY( cipherList.contains("SSL_CK_RC2_128_CBC_WITH_MD5") );
QVERIFY( cipherList.contains("SSL_CK_RC4_128_WITH_MD5") );
QVERIFY( cipherList.contains("SSL_CK_RC4_64_WITH_MD5") );
QVERIFY( cipherList.contains("SSL_CK_DES_64_CBC_WITH_MD5") );
QVERIFY( cipherList.contains("SSL_CK_RC2_128_CBC_EXPORT40_WITH_MD5") );
QVERIFY( cipherList.contains("SSL_CK_RC4_128_EXPORT40_WITH_MD5") );