summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/priority.c1
-rw-r--r--tests/priorities.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/priority.c b/lib/priority.c
index 71e0465767..565bf45ea5 100644
--- a/lib/priority.c
+++ b/lib/priority.c
@@ -299,6 +299,7 @@ static const int* kx_priority_secure = _kx_priority_secure;
static const int _kx_priority_gost[] = {
GNUTLS_KX_VKO_GOST_12,
+ 0,
};
static const int* kx_priority_gost = _kx_priority_gost;
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__);