]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
tests/priorities: add tests for GOST ciphersuites enablement
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Sun, 12 Jan 2020 16:24:51 +0000 (19:24 +0300)
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Sun, 12 Jan 2020 16:24:51 +0000 (19:24 +0300)
Add test counting GOST ciphersuites and ciphers available.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
tests/priorities.c

index 6daef59ab6211e1ce6a64e5390e84ab514a4ff81..d53d7dfda8a68d4f3c7444370f5eb009690b828f 100644 (file)
@@ -138,6 +138,9 @@ void doit(void)
                try_prio("NORMAL:-CIPHER-ALL:+NULL", null, 1, __LINE__);        /* null */
                try_prio("NORMAL:-CIPHER-ALL:+NULL:+CIPHER-ALL", null_normal_cs, 8, __LINE__);  /* should be null + all */
                try_prio("NORMAL:-CIPHER-ALL:+NULL:+CIPHER-ALL:-CIPHER-ALL:+AES-128-CBC", 4, 1, __LINE__);      /* should be null + all */
+#ifdef ENABLE_GOST
+               try_prio("NONE:+VERS-TLS1.2:+GOST", 1, 1, __LINE__);
+#endif
        }
 
        try_prio("PERFORMANCE", normal_cs, normal_ciphers, __LINE__);