diff options
| author | jsing <> | 2019-02-04 15:55:16 +0000 |
|---|---|---|
| committer | jsing <> | 2019-02-04 15:55:16 +0000 |
| commit | c8529befa0a8588be484dd03bbc4c6b6d8490f05 (patch) | |
| tree | e6f32465cbad506c20ae3d89fa800f9aa9b3b1a9 /src | |
| parent | 87b4b705a11204d398ae044d48cec10713d66f7e (diff) | |
| download | openbsd-c8529befa0a8588be484dd03bbc4c6b6d8490f05.tar.gz openbsd-c8529befa0a8588be484dd03bbc4c6b6d8490f05.tar.bz2 openbsd-c8529befa0a8588be484dd03bbc4c6b6d8490f05.zip | |
Make it easier to build with LIBRESSL_HAS_TLS1_3 enabled.
ok tb@
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libssl/Makefile | 5 |
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 | |||
| 16 | CFLAGS+= -Werror | 16 | CFLAGS+= -Werror |
| 17 | .endif | 17 | .endif |
| 18 | CFLAGS+= -DLIBRESSL_INTERNAL | 18 | CFLAGS+= -DLIBRESSL_INTERNAL |
| 19 | .ifdef TLS1_3 | ||
| 20 | CFLAGS+= -DLIBRESSL_HAS_TLS1_3 | ||
| 21 | .endif | ||
| 19 | CFLAGS+= -I${.CURDIR} | 22 | CFLAGS+= -I${.CURDIR} |
| 20 | 23 | ||
| 21 | LDADD+= -L${BSDOBJDIR}/lib/libcrypto -lcrypto | 24 | LDADD+= -L${BSDOBJDIR}/lib/libcrypto -lcrypto |
