CVSROOT: /cvs Module name: src Changes by: t...@cvs.openbsd.org 2024/03/02 04:11:11
Modified files: lib/libcrypto : Makefile Symbols.list lib/libcrypto/conf: conf_api.c lib/libcrypto/hidden/openssl: lhash.h lib/libcrypto/lhash: lhash.c lhash.h lib/libcrypto/objects: obj_dat.c lib/libcrypto/stack: safestack.h stack.c stack.h lib/libcrypto/x509: x509_policy.c Added files: lib/libcrypto/lhash: lhash_local.h lib/libcrypto/stack: stack_local.h Log message: 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