summaryrefslogtreecommitdiff
path: root/lib/priority.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2018-07-03 08:49:06 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2018-07-04 08:11:55 +0200
commit08678ee7a9ee6967a7671d1cf14b3ab0d6fcab0d (patch)
tree205d59b347aa0e495cf67ab40188b870268ad026 /lib/priority.c
parent482b2ebc0f08ff2b87de656ff8d1b620d60582bf (diff)
downloadgnutls-tmp-enable-tls13-by-default.tar.gz
configure: added option --enable-tls13-supporttmp-enable-tls13-by-default
The new option enables TLS1.3 draft-28 support unconditionally. Updated the test suite to run when TLS1.3 is enabled by default, and added a CI run with TLS1.3 enabled. Resolves #424 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/priority.c')
-rw-r--r--lib/priority.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/priority.c b/lib/priority.c
index a749678580..cb162a12fe 100644
--- a/lib/priority.c
+++ b/lib/priority.c
@@ -175,6 +175,9 @@ static const int _supported_groups_secure192[] = {
static const int* supported_groups_secure192 = _supported_groups_secure192;
static const int protocol_priority[] = {
+#ifdef ENABLE_TLS13
+ GNUTLS_TLS1_3,
+#endif
GNUTLS_TLS1_2,
GNUTLS_TLS1_1,
GNUTLS_TLS1_0,