diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2015-04-07 10:51:25 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2015-04-07 10:51:28 +0200 |
commit | 66f96f95bc2b53846fd36f218f0339f379c10b62 (patch) | |
tree | 4f93ce3b3e863aa38f1525a154f0a278dbb5acaf /tests/suite | |
parent | 62e4658e8e153014c1cf4e82f36ac2e46b071bb3 (diff) | |
download | gnutls-66f96f95bc2b53846fd36f218f0339f379c10b62.tar.gz |
tests: ciphersuite test will ignore the invalid names of TLS_DHE_PSK_WITH_AES_128_CCM_8
That is because the names in rfc6655 are for some reason different
than the expected.
Diffstat (limited to 'tests/suite')
-rw-r--r-- | tests/suite/ciphersuite/test-ciphers.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/suite/ciphersuite/test-ciphers.js b/tests/suite/ciphersuite/test-ciphers.js index bd09ee1bac..2336cb474a 100644 --- a/tests/suite/ciphersuite/test-ciphers.js +++ b/tests/suite/ciphersuite/test-ciphers.js @@ -54,8 +54,11 @@ include('./registry-ciphers.js'); console.log("Unofficial cipher:", cs.name, cs.id); } } else if (registry_ciphersuites[cs.id] !== cs.name) { - console.log("Name doesn't match official name for id:", cs.name, registry_ciphersuites[cs.id], cs.id); - process.exit(1); + if (cs.name !== "TLS_DHE_PSK_WITH_AES_128_CCM_8" && + cs.name !== "TLS_DHE_PSK_WITH_AES_256_CCM_8") { + console.log("Name doesn't match official name for id:", cs.name, registry_ciphersuites[cs.id], cs.id); + process.exit(1); + } } } |