summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl.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.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.h')
-rw-r--r--src/lib/libssl/ssl.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/lib/libssl/ssl.h b/src/lib/libssl/ssl.h
index 012556fa71..39aa25356c 100644
--- a/src/lib/libssl/ssl.h
+++ b/src/lib/libssl/ssl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl.h,v 1.169 2020/01/22 01:21:43 jsing Exp $ */ 1/* $OpenBSD: ssl.h,v 1.170 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 *
@@ -167,12 +167,6 @@
167extern "C" { 167extern "C" {
168#endif 168#endif
169 169
170#if defined(LIBRESSL_HAS_TLS1_3_CLIENT) || defined(LIBRESSL_HAS_TLS1_3_SERVER)
171#define LIBRESSL_HAS_TLS1_3 1
172#else
173#define LIBRESSL_HAS_TLS1_3 0
174#endif
175
176/* SSLeay version number for ASN.1 encoding of the session information */ 170/* SSLeay version number for ASN.1 encoding of the session information */
177/* Version 0 - initial version 171/* Version 0 - initial version
178 * Version 1 - added the optional peer certificate 172 * Version 1 - added the optional peer certificate