From c8529befa0a8588be484dd03bbc4c6b6d8490f05 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Mon, 4 Feb 2019 15:55:16 +0000 Subject: Make it easier to build with LIBRESSL_HAS_TLS1_3 enabled. ok tb@ --- src/lib/libssl/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/libssl/Makefile b/src/lib/libssl/Makefile index ca6e402278..cd37f3ce86 100644 --- a/src/lib/libssl/Makefile +++ b/src/lib/libssl/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.54 2019/01/23 00:50:39 tb Exp $ +# $OpenBSD: Makefile,v 1.55 2019/02/04 15:55:16 jsing Exp $ .include .ifndef NOMAN @@ -16,6 +16,9 @@ CFLAGS+= -Wall -Wundef CFLAGS+= -Werror .endif CFLAGS+= -DLIBRESSL_INTERNAL +.ifdef TLS1_3 +CFLAGS+= -DLIBRESSL_HAS_TLS1_3 +.endif CFLAGS+= -I${.CURDIR} LDADD+= -L${BSDOBJDIR}/lib/libcrypto -lcrypto -- cgit v1.2.3-55-g6feb