summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2020-01-12 19:24:51 +0300
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2020-01-12 19:24:51 +0300
commit160928192594295b9af7fee664030cb7d7480bc8 (patch)
tree1498e7baf60d12c7a9734393dbc69b85b994f4ce
parent0b2ceb2e945be38e8e64bd6ed7cdddca1ed0ac0b (diff)
downloadgnutls-160928192594295b9af7fee664030cb7d7480bc8.tar.gz
tests/priorities: add tests for GOST ciphersuites enablement
Add test counting GOST ciphersuites and ciphers available. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
-rw-r--r--tests/priorities.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/priorities.c b/tests/priorities.c
index 6daef59ab6..d53d7dfda8 100644
--- a/tests/priorities.c
+++ b/tests/priorities.c
@@ -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__);