diff options
| author | tb <> | 2024-03-02 11:11:11 +0000 |
|---|---|---|
| committer | tb <> | 2024-03-02 11:11:11 +0000 |
| commit | 26367add3db68a3e89bda58a3c85174507f8e71a (patch) | |
| tree | 865633fee7fa46f45fa7bee8495692a2bf76544f /src/lib/libcrypto/Makefile | |
| parent | 792421b3f220abcbd1405485edc9bf6b39485769 (diff) | |
| download | openbsd-26367add3db68a3e89bda58a3c85174507f8e71a.tar.gz openbsd-26367add3db68a3e89bda58a3c85174507f8e71a.tar.bz2 openbsd-26367add3db68a3e89bda58a3c85174507f8e71a.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 | ||
