summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_locl.h
diff options
context:
space:
mode:
authorbeck <>2020-01-22 07:49:33 +0000
committerbeck <>2020-01-22 07:49:33 +0000
commit1d0cc834451b4755c527bc53d1795af2faf9e777 (patch)
tree159f1444e3e7606236feaa585c26004177bae43d /src/lib/libssl/ssl_locl.h
parent37be75af62ef7d9a0ecdf5cb3c78276a758b648b (diff)
downloadopenbsd-1d0cc834451b4755c527bc53d1795af2faf9e777.tar.gz
openbsd-1d0cc834451b4755c527bc53d1795af2faf9e777.tar.bz2
openbsd-1d0cc834451b4755c527bc53d1795af2faf9e777.zip
Move guards from public to internal headers, and fix not use values.
reverts previous attempt which would have broken ports ok jsing@
Diffstat (limited to 'src/lib/libssl/ssl_locl.h')
-rw-r--r--src/lib/libssl/ssl_locl.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h
index f9c75f8a7f..6016b4f984 100644
--- a/src/lib/libssl/ssl_locl.h
+++ b/src/lib/libssl/ssl_locl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_locl.h,v 1.248 2019/11/17 19:07:07 jsing Exp $ */ 1/* $OpenBSD: ssl_locl.h,v 1.249 2020/01/22 07:49:33 beck Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -186,6 +186,11 @@ __BEGIN_HIDDEN_DECLS
186#define s2n(s,c) ((c[0]=(unsigned char)(((s)>> 8)&0xff), \ 186#define s2n(s,c) ((c[0]=(unsigned char)(((s)>> 8)&0xff), \
187 c[1]=(unsigned char)(((s) )&0xff)),c+=2) 187 c[1]=(unsigned char)(((s) )&0xff)),c+=2)
188 188
189/* #define LIBRESSL_HAS_TLS1_3_CLIENT */
190#if defined(LIBRESSL_HAS_TLS1_3_CLIENT) || defined(LIBRESSL_HAS_TLS1_3_SERVER)
191#define LIBRESSL_HAS_TLS1_3
192#endif
193
189/* LOCAL STUFF */ 194/* LOCAL STUFF */
190 195
191#define SSL_DECRYPT 0 196#define SSL_DECRYPT 0