diff options
author | 2020-01-22 01:21:43 +0000 | |
---|---|---|
committer | 2020-01-22 01:21:43 +0000 | |
commit | 7214807f44f621693bd895b83ec6fd2c0890412d (patch) | |
tree | f5c79a27bf52c971a27410210bd311ec7ecda236 /lib/libssl/ssl.h | |
parent | Implement close-notify and SSL_shutdown() handling for the TLSv1.3 client. (diff) | |
download | wireguard-openbsd-7214807f44f621693bd895b83ec6fd2c0890412d.tar.xz wireguard-openbsd-7214807f44f621693bd895b83ec6fd2c0890412d.zip |
Split the TLSv1.3 guards into separate client and server guards.
ok beck@ tb@
Diffstat (limited to 'lib/libssl/ssl.h')
-rw-r--r-- | lib/libssl/ssl.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/libssl/ssl.h b/lib/libssl/ssl.h index 8ac05ca70f7..012556fa712 100644 --- a/lib/libssl/ssl.h +++ b/lib/libssl/ssl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl.h,v 1.168 2020/01/21 05:19:02 jsing Exp $ */ +/* $OpenBSD: ssl.h,v 1.169 2020/01/22 01:21:43 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -167,6 +167,12 @@ 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 |