summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2020-01-22 13:06:21 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2020-01-22 13:06:21 +0000
commitc31df1e47de22c4ab91871346a5e1ca04d1a6139 (patch)
treeb245d15ed6af8633a8dab7a38a0c2b49bb426dc5 /lib
parent7394ea0cf2bd6a145b4a96e3b25452bdf1fc3d6d (diff)
Fix things so that `make -DTLS1_3` works again.
Diffstat (limited to 'lib')
-rw-r--r--lib/libssl/ssl_locl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libssl/ssl_locl.h b/lib/libssl/ssl_locl.h
index 897f92f8482..7936378213a 100644
--- a/lib/libssl/ssl_locl.h
+++ b/lib/libssl/ssl_locl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_locl.h,v 1.250 2020/01/22 08:24:25 jsing Exp $ */
+/* $OpenBSD: ssl_locl.h,v 1.251 2020/01/22 13:06:20 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -186,7 +186,9 @@ __BEGIN_HIDDEN_DECLS
#define s2n(s,c) ((c[0]=(unsigned char)(((s)>> 8)&0xff), \
c[1]=(unsigned char)(((s) )&0xff)),c+=2)
+#ifndef LIBRESSL_HAS_TLS1_3_CLIENT
#define LIBRESSL_HAS_TLS1_3_CLIENT
+#endif
#if defined(LIBRESSL_HAS_TLS1_3_CLIENT) || defined(LIBRESSL_HAS_TLS1_3_SERVER)
#define LIBRESSL_HAS_TLS1_3