diff options
author | tb <> | 2023-12-15 14:16:44 +0000 |
---|---|---|
committer | tb <> | 2023-12-15 14:16:44 +0000 |
commit | 705e4d237c379c27211ff8d0c50e8ee5a58011e4 (patch) | |
tree | 957dad27389f335e4da4a61726a0596cd17370fd /src/lib/libc/stdlib/merge.c | |
parent | 97bbd96798da817300fbf00b33e26be7edd67163 (diff) | |
download | openbsd-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/merge.c')
0 files changed, 0 insertions, 0 deletions