summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbeck <>2020-01-22 06:44:02 +0000
committerbeck <>2020-01-22 06:44:02 +0000
commite9fe0d205322c81714d976c7e2b0b98e131e9e4b (patch)
tree784d9907f72488a14029f45d4b23153ce4d4aa4e
parent9688e1dfd0a77a6aa72326ee207ea1265bc91768 (diff)
downloadopenbsd-e9fe0d205322c81714d976c7e2b0b98e131e9e4b.tar.gz
openbsd-e9fe0d205322c81714d976c7e2b0b98e131e9e4b.tar.bz2
openbsd-e9fe0d205322c81714d976c7e2b0b98e131e9e4b.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@
-rw-r--r--src/lib/libtls/tls.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libtls/tls.h b/src/lib/libtls/tls.h
index 59e1aac49b..20f55dcabd 100644
--- a/src/lib/libtls/tls.h
+++ b/src/lib/libtls/tls.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: tls.h,v 1.57 2020/01/20 08:39:21 jsing Exp $ */ 1/* $OpenBSD: tls.h,v 1.58 2020/01/22 06:44:02 beck Exp $ */
2/* 2/*
3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -39,7 +39,7 @@ extern "C" {
39 TLS_PROTOCOL_TLSv1_2|TLS_PROTOCOL_TLSv1_3) 39 TLS_PROTOCOL_TLSv1_2|TLS_PROTOCOL_TLSv1_3)
40 40
41#define TLS_PROTOCOLS_ALL TLS_PROTOCOL_TLSv1 41#define TLS_PROTOCOLS_ALL TLS_PROTOCOL_TLSv1
42#define TLS_PROTOCOLS_DEFAULT TLS_PROTOCOL_TLSv1_2 42#define TLS_PROTOCOLS_DEFAULT (TLS_PROTOCOL_TLSv1_2|TLS_PROTOCOL_TLSv1_3)
43 43
44#define TLS_WANT_POLLIN -2 44#define TLS_WANT_POLLIN -2
45#define TLS_WANT_POLLOUT -3 45#define TLS_WANT_POLLOUT -3