diff options
author | tb <> | 2024-03-02 11:11:11 +0000 |
---|---|---|
committer | tb <> | 2024-03-02 11:11:11 +0000 |
commit | 3228d4664f5cbc8a4b11e8d1cf7aa6636946f529 (patch) | |
tree | 865633fee7fa46f45fa7bee8495692a2bf76544f /src/lib/libcrypto/Makefile | |
parent | 2e45bf0bb5ba5d679b984ec185fbc3d2a6270f6f (diff) | |
download | openbsd-3228d4664f5cbc8a4b11e8d1cf7aa6636946f529.tar.gz openbsd-3228d4664f5cbc8a4b11e8d1cf7aa6636946f529.tar.bz2 openbsd-3228d4664f5cbc8a4b11e8d1cf7aa6636946f529.zip |
Make LHASH_OF() and STACK_OF() use opaque structs
This removes internals of these two special snowflakes and will allow
further simplifications. Unfortunately, there are some pieces of
software that actually use LHASH_OF() (looking at you, pound, Ruby, and
openssl(1)), so we get to keep exposing this garbage, at least for now.
Expose lh_error() as a symbol to replace a macro reaching into _LHASH.
lh_down_load() is no longer available. _LHASH and _STACK are now opaque,
LHASH_NODE becomes internal-only.
from jsing
Diffstat (limited to 'src/lib/libcrypto/Makefile')
-rw-r--r-- | src/lib/libcrypto/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/Makefile b/src/lib/libcrypto/Makefile index cc56c53591..0e4c783d9e 100644 --- a/src/lib/libcrypto/Makefile +++ b/src/lib/libcrypto/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: Makefile,v 1.171 2024/03/02 11:04:51 tb Exp $ | 1 | # $OpenBSD: Makefile,v 1.172 2024/03/02 11:11:11 tb Exp $ |
2 | 2 | ||
3 | LIB= crypto | 3 | LIB= crypto |
4 | LIBREBUILD=y | 4 | LIBREBUILD=y |
@@ -40,11 +40,13 @@ CFLAGS+= -I${LCRYPTO_SRC}/evp | |||
40 | CFLAGS+= -I${LCRYPTO_SRC}/hidden | 40 | CFLAGS+= -I${LCRYPTO_SRC}/hidden |
41 | CFLAGS+= -I${LCRYPTO_SRC}/hmac | 41 | CFLAGS+= -I${LCRYPTO_SRC}/hmac |
42 | CFLAGS+= -I${LCRYPTO_SRC}/kdf | 42 | CFLAGS+= -I${LCRYPTO_SRC}/kdf |
43 | CFLAGS+= -I${LCRYPTO_SRC}/lhash | ||
43 | CFLAGS+= -I${LCRYPTO_SRC}/modes | 44 | CFLAGS+= -I${LCRYPTO_SRC}/modes |
44 | CFLAGS+= -I${LCRYPTO_SRC}/ocsp | 45 | CFLAGS+= -I${LCRYPTO_SRC}/ocsp |
45 | CFLAGS+= -I${LCRYPTO_SRC}/pkcs12 | 46 | CFLAGS+= -I${LCRYPTO_SRC}/pkcs12 |
46 | CFLAGS+= -I${LCRYPTO_SRC}/rsa | 47 | CFLAGS+= -I${LCRYPTO_SRC}/rsa |
47 | CFLAGS+= -I${LCRYPTO_SRC}/sha | 48 | CFLAGS+= -I${LCRYPTO_SRC}/sha |
49 | CFLAGS+= -I${LCRYPTO_SRC}/stack | ||
48 | CFLAGS+= -I${LCRYPTO_SRC}/ts | 50 | CFLAGS+= -I${LCRYPTO_SRC}/ts |
49 | CFLAGS+= -I${LCRYPTO_SRC}/x509 | 51 | CFLAGS+= -I${LCRYPTO_SRC}/x509 |
50 | 52 | ||