summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjsing <>2019-02-04 15:55:16 +0000
committerjsing <>2019-02-04 15:55:16 +0000
commit2f17e3ef128f8ae85aac6277ad363432a0894668 (patch)
treee6f32465cbad506c20ae3d89fa800f9aa9b3b1a9
parentfa4841770246f820b72eeb3723d71f234eda8059 (diff)
downloadopenbsd-2f17e3ef128f8ae85aac6277ad363432a0894668.tar.gz
openbsd-2f17e3ef128f8ae85aac6277ad363432a0894668.tar.bz2
openbsd-2f17e3ef128f8ae85aac6277ad363432a0894668.zip
Make it easier to build with LIBRESSL_HAS_TLS1_3 enabled.
ok tb@
-rw-r--r--src/lib/libssl/Makefile5
1 files changed, 4 insertions, 1 deletions
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 @@
1# $OpenBSD: Makefile,v 1.54 2019/01/23 00:50:39 tb Exp $ 1# $OpenBSD: Makefile,v 1.55 2019/02/04 15:55:16 jsing Exp $
2 2
3.include <bsd.own.mk> 3.include <bsd.own.mk>
4.ifndef NOMAN 4.ifndef NOMAN
@@ -16,6 +16,9 @@ CFLAGS+= -Wall -Wundef
16CFLAGS+= -Werror 16CFLAGS+= -Werror
17.endif 17.endif
18CFLAGS+= -DLIBRESSL_INTERNAL 18CFLAGS+= -DLIBRESSL_INTERNAL
19.ifdef TLS1_3
20CFLAGS+= -DLIBRESSL_HAS_TLS1_3
21.endif
19CFLAGS+= -I${.CURDIR} 22CFLAGS+= -I${.CURDIR}
20 23
21LDADD+= -L${BSDOBJDIR}/lib/libcrypto -lcrypto 24LDADD+= -L${BSDOBJDIR}/lib/libcrypto -lcrypto