summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib
diff options
context:
space:
mode:
authortb <>2023-12-15 14:16:44 +0000
committertb <>2023-12-15 14:16:44 +0000
commit705e4d237c379c27211ff8d0c50e8ee5a58011e4 (patch)
tree957dad27389f335e4da4a61726a0596cd17370fd /src/lib/libc/stdlib
parent97bbd96798da817300fbf00b33e26be7edd67163 (diff)
downloadopenbsd-705e4d237c379c27211ff8d0c50e8ee5a58011e4.tar.gz
openbsd-705e4d237c379c27211ff8d0c50e8ee5a58011e4.tar.bz2
openbsd-705e4d237c379c27211ff8d0c50e8ee5a58011e4.zip
Remove unprotected global state from EVP_PBE
Nobody adds a custom password-based encryption algorithm, be it a PRF or one that can be an outermost AlgorithmIdentifier in CMS or its precursors. This makes the undocumented and unused EVP_PBE_alg_add{,_type}() always fail. They will be removed in the next major bump. Thus, we no longer need to maintain a global stack of PBE algorithms that one thread can happily modify while another one searches it. In subsequent steps we can then remove another rather pointless use of OBJ_bsearch_(). "Let's optimize the lookup in a table with two dozen entries using about as many glorious layers of obfuscating macros." ok jsing
Diffstat (limited to 'src/lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions