diff options
author | jsing <> | 2020-01-22 01:21:43 +0000 |
---|---|---|
committer | jsing <> | 2020-01-22 01:21:43 +0000 |
commit | 33e8d2d1da86ec2fec46397361af862802b89333 (patch) | |
tree | 57cea55ebca0c29b9c1f68035245c609e56c6cee /src/lib/libssl/ssl.h | |
parent | d2535f6d6c56956061dc8da2a8a2bfdd6b98a0a4 (diff) | |
download | openbsd-33e8d2d1da86ec2fec46397361af862802b89333.tar.gz openbsd-33e8d2d1da86ec2fec46397361af862802b89333.tar.bz2 openbsd-33e8d2d1da86ec2fec46397361af862802b89333.zip |
Split the TLSv1.3 guards into separate client and server guards.
ok beck@ tb@
Diffstat (limited to 'src/lib/libssl/ssl.h')
-rw-r--r-- | src/lib/libssl/ssl.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl.h b/src/lib/libssl/ssl.h index 8ac05ca70f..012556fa71 100644 --- a/src/lib/libssl/ssl.h +++ b/src/lib/libssl/ssl.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl.h,v 1.168 2020/01/21 05:19:02 jsing Exp $ */ | 1 | /* $OpenBSD: ssl.h,v 1.169 2020/01/22 01:21:43 jsing 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,6 +167,12 @@ | |||
167 | extern "C" { | 167 | extern "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 | |||
170 | /* SSLeay version number for ASN.1 encoding of the session information */ | 176 | /* SSLeay version number for ASN.1 encoding of the session information */ |
171 | /* Version 0 - initial version | 177 | /* Version 0 - initial version |
172 | * Version 1 - added the optional peer certificate | 178 | * Version 1 - added the optional peer certificate |