Remove the custom X509v3 extensions stack
authortb <tb@openbsd.org>
Thu, 25 Jan 2024 12:20:17 +0000 (12:20 +0000)
committertb <tb@openbsd.org>
Thu, 25 Jan 2024 12:20:17 +0000 (12:20 +0000)
commitc984dda7d7e71c4385cc26a89a7d61f6e9c3e444
treea1da0805d2eb8ff05826aa5c2c9543db6d22027d
parent6a5cf36aa87b16d9cba4e3500477cbb1e51ed977
Remove the custom X509v3 extensions stack

This is essentially unused. The only consumer, www/kore,-acme is in the
process of being fixed. It is also incomplete: in particular, the verifier
doesn't learn about extensions added to the list, making the entire
exercise rather pointless. So let's ditch that crap.

This was the last consumer of the horror that is OBJ_bsearch_().
The even worse OBJ_bsearch_ex_() is still being "used" by M2Crypto...

This prepares the removal of X509V3_EXT_{add{,_list,_alias},cleanup}().
and removes another piece of thread-unsafe global state.

ok jsing
lib/libcrypto/x509/x509_lib.c