mirror of
https://github.com/openbsd/src.git
synced 2025-01-10 06:47:55 -08:00
Move guards from public to internal headers, and fix not use values.
reverts previous attempt which would have broken ports ok jsing@
This commit is contained in:
parent
f4a86943d3
commit
fa99de6aa2
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: ssl.h,v 1.169 2020/01/22 01:21:43 jsing Exp $ */
|
||||
/* $OpenBSD: ssl.h,v 1.170 2020/01/22 07:49:33 beck Exp $ */
|
||||
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
|
||||
* All rights reserved.
|
||||
*
|
||||
@ -167,12 +167,6 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if defined(LIBRESSL_HAS_TLS1_3_CLIENT) || defined(LIBRESSL_HAS_TLS1_3_SERVER)
|
||||
#define LIBRESSL_HAS_TLS1_3 1
|
||||
#else
|
||||
#define LIBRESSL_HAS_TLS1_3 0
|
||||
#endif
|
||||
|
||||
/* SSLeay version number for ASN.1 encoding of the session information */
|
||||
/* Version 0 - initial version
|
||||
* Version 1 - added the optional peer certificate
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: ssl_locl.h,v 1.248 2019/11/17 19:07:07 jsing Exp $ */
|
||||
/* $OpenBSD: ssl_locl.h,v 1.249 2020/01/22 07:49:33 beck Exp $ */
|
||||
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
|
||||
* All rights reserved.
|
||||
*
|
||||
@ -186,6 +186,11 @@ __BEGIN_HIDDEN_DECLS
|
||||
#define s2n(s,c) ((c[0]=(unsigned char)(((s)>> 8)&0xff), \
|
||||
c[1]=(unsigned char)(((s) )&0xff)),c+=2)
|
||||
|
||||
/* #define LIBRESSL_HAS_TLS1_3_CLIENT */
|
||||
#if defined(LIBRESSL_HAS_TLS1_3_CLIENT) || defined(LIBRESSL_HAS_TLS1_3_SERVER)
|
||||
#define LIBRESSL_HAS_TLS1_3
|
||||
#endif
|
||||
|
||||
/* LOCAL STUFF */
|
||||
|
||||
#define SSL_DECRYPT 0
|
||||
|
Loading…
Reference in New Issue
Block a user