summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-11-04 09:34:55 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-11-04 09:34:55 +0100
commitc06644052cdcc195c2a05d893515c108349cbe58 (patch)
treefc37be531077602b9258a94575035e495cdccc47 /tests
parenta353f8bb5dd64cba5640a52e0f6a6d3514cfc7ee (diff)
downloadgnutls-c06644052cdcc195c2a05d893515c108349cbe58.tar.gz
tests: updated known ciphersuites test for CHACHA20-POLY1305 in the SECURE set
Diffstat (limited to 'tests')
-rw-r--r--tests/priorities.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/priorities.c b/tests/priorities.c
index edc01009aa..dd7753c448 100644
--- a/tests/priorities.c
+++ b/tests/priorities.c
@@ -95,7 +95,7 @@ void doit(void)
{
const int normal = 57;
const int null = 5;
- const int sec128 = 50;
+ const int sec128 = 53;
try_prio("PFS", 42, 12, __LINE__);
try_prio("NORMAL", normal, 12, __LINE__);
@@ -107,9 +107,9 @@ void doit(void)
try_prio("NORMAL:-CIPHER-ALL:+NULL:+CIPHER-ALL:-CIPHER-ALL:+AES-128-CBC", 8, 1, __LINE__); /* should be null + all */
#endif
try_prio("PERFORMANCE", normal, 12, __LINE__);
- try_prio("SECURE256", 19, 5, __LINE__);
- try_prio("SECURE128", sec128, 10, __LINE__);
- try_prio("SECURE128:+SECURE256", sec128, 10, __LINE__); /* should be the same as SECURE128 */
+ try_prio("SECURE256", 22, 6, __LINE__);
+ try_prio("SECURE128", sec128, 11, __LINE__);
+ try_prio("SECURE128:+SECURE256", sec128, 11, __LINE__); /* should be the same as SECURE128 */
try_prio("SECURE128:+SECURE256:+NORMAL", normal, 12, __LINE__); /* should be the same as NORMAL */
try_prio("SUITEB192", 1, 1, __LINE__);
try_prio("SUITEB128", 2, 2, __LINE__);