]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
tests: added 'PFS' and 'SUITEB128' into the list of checked priority strings
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Fri, 29 Apr 2016 07:39:13 +0000 (09:39 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Fri, 29 Apr 2016 07:40:18 +0000 (09:40 +0200)
tests/priorities.c

index 008c162a09866fa688bd1c975477c6a026c699a4..edc01009aac4111678afca238d1d7ee469e16f47 100644 (file)
@@ -97,6 +97,7 @@ void doit(void)
        const int null = 5;
        const int sec128 = 50;
 
+       try_prio("PFS", 42, 12, __LINE__);
        try_prio("NORMAL", normal, 12, __LINE__);
        try_prio("NORMAL:-MAC-ALL:+MD5:+MAC-ALL", normal, 12, __LINE__);
 #ifndef ENABLE_FIPS140
@@ -111,6 +112,7 @@ void doit(void)
        try_prio("SECURE128:+SECURE256", sec128, 10, __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__);
        /* check legacy strings */
        try_prio("NORMAL:+RSA-EXPORT:+ARCFOUR-40", normal, 12, __LINE__);
 }