diff options
Diffstat (limited to 'test/test_cipher.py')
-rw-r--r-- | test/test_cipher.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/test/test_cipher.py b/test/test_cipher.py index 3f1f344..2c27796 100644 --- a/test/test_cipher.py +++ b/test/test_cipher.py @@ -4,8 +4,8 @@ import os import nose from nose.tools import make_decorator -# As of now there are 47 ciphers including ECC -WITH_ECC=47 +# This file is auto-generated by configure +from variable import ENABLE_SHA384 cwd = os.getcwd() srcdir = os.path.dirname(cwd) @@ -19,6 +19,10 @@ CIPHERS_NOT_IN_NSS = ['ECDH-RSA-AES128-SHA256', 'ECDH-ECDSA-AES128-SHA256', 'ECDH-RSA-AES128-GCM-SHA256', 'EXP-DES-CBC-SHA', + 'ECDH-RSA-AES256-GCM-SHA384', + 'ECDH-ECDSA-AES256-SHA384', + 'ECDH-RSA-AES256-SHA384', + 'ECDH-ECDSA-AES256-GCM-SHA384', ] def assert_equal_openssl(nss_ciphers, ossl_ciphers): @@ -38,7 +42,7 @@ def assert_equal_openssl(nss_ciphers, ossl_ciphers): # output. t = list() for o in ossl_list: - if 'SHA384' in o: + if not ENABLE_SHA384 and 'SHA384' in o: continue if o in CIPHERS_NOT_IN_NSS: continue |