summaryrefslogtreecommitdiff
path: root/tests/priorities.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2013-10-23 12:47:17 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2013-10-23 12:47:17 +0200
commita57fbe264dadf0eb9960c7e28a313ff3be3c0ab4 (patch)
treedb140e0ae88a732886ffcae79e363d7c3aa3bc2d /tests/priorities.c
parentc32b0bfe6c2f0e7d7ee06992dd9ed9824d627671 (diff)
downloadgnutls-a57fbe264dadf0eb9960c7e28a313ff3be3c0ab4.tar.gz
corrected ciphersuite numbers in priorities
Diffstat (limited to 'tests/priorities.c')
-rw-r--r--tests/priorities.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/priorities.c b/tests/priorities.c
index 1b3068b2df..b1c0ae55eb 100644
--- a/tests/priorities.c
+++ b/tests/priorities.c
@@ -94,9 +94,9 @@ for (i=0;i<ret;i++)
void
doit (void)
{
-const int normal = 42;
+const int normal = 55;
const int null = 5;
-const int sec128 = 32;
+const int sec128 = 45;
try_prio("NORMAL", normal, 8);
try_prio("NORMAL:-MAC-ALL:+MD5:+MAC-ALL", normal, 8);
@@ -105,7 +105,7 @@ const int sec128 = 32;
try_prio("NORMAL:-CIPHER-ALL:+NULL:+CIPHER-ALL", normal+null, 9); /* should be null + all */
try_prio("NORMAL:-CIPHER-ALL:+NULL:+CIPHER-ALL:-CIPHER-ALL:+AES-128-CBC", 10, 1); /* should be null + all */
try_prio("PERFORMANCE", normal, 8);
- try_prio("SECURE256", 6, 3);
+ try_prio("SECURE256", 14, 3);
try_prio("SECURE128", sec128, 6);
try_prio("SECURE128:+SECURE256", sec128, 6); /* should be the same as SECURE128 */
try_prio("SECURE128:+SECURE256:+NORMAL", normal, 8); /* should be the same as NORMAL */