diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2024-03-02 11:11:12 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2024-03-02 11:11:12 +0000 |
commit | 4559cf382abe32845532652927a125d864bf64b5 (patch) | |
tree | 4b6dbfb3f2eb324fb784015a3e86cf8205625f02 /lib/libcrypto/Makefile | |
parent | 61f3ff1268231efcf685086dad9433960502b0b0 (diff) |
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 'lib/libcrypto/Makefile')
-rw-r--r-- | lib/libcrypto/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libcrypto/Makefile b/lib/libcrypto/Makefile index cc56c535911..0e4c783d9e8 100644 --- a/lib/libcrypto/Makefile +++ b/lib/libcrypto/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.171 2024/03/02 11:04:51 tb Exp $ +# $OpenBSD: Makefile,v 1.172 2024/03/02 11:11:11 tb Exp $ LIB= crypto LIBREBUILD=y @@ -40,11 +40,13 @@ CFLAGS+= -I${LCRYPTO_SRC}/evp CFLAGS+= -I${LCRYPTO_SRC}/hidden CFLAGS+= -I${LCRYPTO_SRC}/hmac CFLAGS+= -I${LCRYPTO_SRC}/kdf +CFLAGS+= -I${LCRYPTO_SRC}/lhash CFLAGS+= -I${LCRYPTO_SRC}/modes CFLAGS+= -I${LCRYPTO_SRC}/ocsp CFLAGS+= -I${LCRYPTO_SRC}/pkcs12 CFLAGS+= -I${LCRYPTO_SRC}/rsa CFLAGS+= -I${LCRYPTO_SRC}/sha +CFLAGS+= -I${LCRYPTO_SRC}/stack CFLAGS+= -I${LCRYPTO_SRC}/ts CFLAGS+= -I${LCRYPTO_SRC}/x509 |