Remove EVP_add_{cipher,digest}() from public API
authortb <tb@openbsd.org>
Sat, 2 Mar 2024 09:36:40 +0000 (09:36 +0000)
committertb <tb@openbsd.org>
Sat, 2 Mar 2024 09:36:40 +0000 (09:36 +0000)
commit6214b2ff3c13b37581fe2cccaa200e429a1e7ff2
treed32aad9000466ef7425927ed0c26716b0359b426
parent347da3c9b779633b238d09f0106558d61180c8d9
Remove EVP_add_{cipher,digest}() from public API

Ciphers and digests are now handled in a static lookup table and no
longer by the associative array that used to underlie the OBJ_NAME API.
Adding ciphers is no longer possible. What uses this API does so for
historic reasons coming from a time where SHA-2 and some AES variants
needed to be enabled explicitly. Ports doing this (PHP and DANE code)
were fixed.

ok jsing
lib/libcrypto/Symbols.list
lib/libcrypto/evp/evp.h
lib/libcrypto/evp/evp_names.c