From 7214807f44f621693bd895b83ec6fd2c0890412d Mon Sep 17 00:00:00 2001 From: jsing Date: Wed, 22 Jan 2020 01:21:43 +0000 Subject: Split the TLSv1.3 guards into separate client and server guards. ok beck@ tb@ --- lib/libssl/ssl.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'lib/libssl/ssl.h') 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 -- cgit v1.2.3-59-g8ed1b