summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/strerror_r.c
diff options
context:
space:
mode:
authortb <>2023-12-15 14:16:44 +0000
committertb <>2023-12-15 14:16:44 +0000
commitda812ac2b11c2fe741e153de7b426c7e6d9f3c49 (patch)
tree957dad27389f335e4da4a61726a0596cd17370fd /src/lib/libc/string/strerror_r.c
parent51088b62ca9f22f2160fa0ce90bdd0441e8178dd (diff)
downloadopenbsd-da812ac2b11c2fe741e153de7b426c7e6d9f3c49.tar.gz
openbsd-da812ac2b11c2fe741e153de7b426c7e6d9f3c49.tar.bz2
openbsd-da812ac2b11c2fe741e153de7b426c7e6d9f3c49.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/string/strerror_r.c')
0 files changed, 0 insertions, 0 deletions