diff options
author | tb <> | 2021-10-31 16:51:16 +0000 |
---|---|---|
committer | tb <> | 2021-10-31 16:51:16 +0000 |
commit | 125ed695394bdaa6554f2a49599600db43abe881 (patch) | |
tree | 0a0bb1eb5683c2a6bd66e9b08430197e4e00b64e /src/lib/libcrypto/Makefile | |
parent | 9088131a0bf4a9930c61b7096992aa4e3fec2959 (diff) | |
download | openbsd-125ed695394bdaa6554f2a49599600db43abe881.tar.gz openbsd-125ed695394bdaa6554f2a49599600db43abe881.tar.bz2 openbsd-125ed695394bdaa6554f2a49599600db43abe881.zip |
Hide struct internals under LIBRESSL_CRYPTO_INTERNAL so that other
parts of LibreSSL can no longer reach into them.
discussed with beck, jsing
Diffstat (limited to 'src/lib/libcrypto/Makefile')
-rw-r--r-- | src/lib/libcrypto/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/Makefile b/src/lib/libcrypto/Makefile index 1caac51601..f626c16e91 100644 --- a/src/lib/libcrypto/Makefile +++ b/src/lib/libcrypto/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: Makefile,v 1.47 2021/10/23 09:13:51 beck Exp $ | 1 | # $OpenBSD: Makefile,v 1.48 2021/10/31 16:51:16 tb Exp $ |
2 | 2 | ||
3 | LIB= crypto | 3 | LIB= crypto |
4 | LIBREBUILD=y | 4 | LIBREBUILD=y |
@@ -18,7 +18,7 @@ CFLAGS+= -Wall -Wundef | |||
18 | .if ${COMPILER_VERSION:L} == "clang" | 18 | .if ${COMPILER_VERSION:L} == "clang" |
19 | CFLAGS+= -Werror | 19 | CFLAGS+= -Werror |
20 | .endif | 20 | .endif |
21 | CFLAGS+= -DLIBRESSL_INTERNAL | 21 | CFLAGS+= -DLIBRESSL_INTERNAL -DLIBRESSL_CRYPTO_INTERNAL |
22 | 22 | ||
23 | .if !defined(NOPIC) | 23 | .if !defined(NOPIC) |
24 | CFLAGS+= -DDSO_DLFCN -DHAVE_DLFCN_H -DHAVE_FUNOPEN | 24 | CFLAGS+= -DDSO_DLFCN -DHAVE_DLFCN_H -DHAVE_FUNOPEN |