summaryrefslogtreecommitdiffstats
path: root/lib/libtls
diff options
context:
space:
mode:
authorbeck <beck@openbsd.org>2020-01-22 06:44:02 +0000
committerbeck <beck@openbsd.org>2020-01-22 06:44:02 +0000
commitc6bdffd5fda931c65183e501b55c40064cabbe59 (patch)
treea62fda44eb9073a41fa39b0d1a36b90a21b2e78d /lib/libtls
parentSimplify the peekaboo code. (diff)
downloadwireguard-openbsd-c6bdffd5fda931c65183e501b55c40064cabbe59.tar.xz
wireguard-openbsd-c6bdffd5fda931c65183e501b55c40064cabbe59.zip
Enable TLS version 1.3 in the default protocols for libtls.
This will as yet not do anything, until we turn it on in the lower level libraries. ok jsing@
Diffstat (limited to 'lib/libtls')
-rw-r--r--lib/libtls/tls.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libtls/tls.h b/lib/libtls/tls.h
index 59e1aac49b2..20f55dcabd1 100644
--- a/lib/libtls/tls.h
+++ b/lib/libtls/tls.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tls.h,v 1.57 2020/01/20 08:39:21 jsing Exp $ */
+/* $OpenBSD: tls.h,v 1.58 2020/01/22 06:44:02 beck Exp $ */
/*
* Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
*
@@ -39,7 +39,7 @@ extern "C" {
TLS_PROTOCOL_TLSv1_2|TLS_PROTOCOL_TLSv1_3)
#define TLS_PROTOCOLS_ALL TLS_PROTOCOL_TLSv1
-#define TLS_PROTOCOLS_DEFAULT TLS_PROTOCOL_TLSv1_2
+#define TLS_PROTOCOLS_DEFAULT (TLS_PROTOCOL_TLSv1_2|TLS_PROTOCOL_TLSv1_3)
#define TLS_WANT_POLLIN -2
#define TLS_WANT_POLLOUT -3