summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2013-10-25 11:48:43 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2013-10-25 11:48:43 +0200
commit4aab704554d6a6c8127010901ec514b035241fb4 (patch)
treecee77c2325d4f15d8f25a436bb716ac7b9db27d0
parentc94537a8fa277fc346784a06b73fffce2c53df6f (diff)
downloadgnutls-4aab704554d6a6c8127010901ec514b035241fb4.tar.gz
updated priorities for new ciphersuites
-rw-r--r--tests/priorities.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/priorities.c b/tests/priorities.c
index ecd13f7e7b..751cbfd19c 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 = 65;
+const int normal = 66;
const int null = 5;
-const int sec128 = 55;
+const int sec128 = 56;
try_prio("NORMAL", normal, 10);
try_prio("NORMAL:-MAC-ALL:+MD5:+MAC-ALL", normal, 10);
@@ -105,7 +105,7 @@ const int sec128 = 55;
try_prio("NORMAL:-CIPHER-ALL:+NULL:+CIPHER-ALL", normal+null, 11); /* 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, 10);
- try_prio("SECURE256", 19, 4);
+ try_prio("SECURE256", 20, 4);
try_prio("SECURE128", sec128, 8);
try_prio("SECURE128:+SECURE256", sec128, 8); /* should be the same as SECURE128 */
try_prio("SECURE128:+SECURE256:+NORMAL", normal, 10); /* should be the same as NORMAL */