Remove unused parts of the purpose API
authortb <tb@openbsd.org>
Sat, 2 Mar 2024 10:40:05 +0000 (10:40 +0000)
committertb <tb@openbsd.org>
Sat, 2 Mar 2024 10:40:05 +0000 (10:40 +0000)
commitcb0df0717cbdfcb0540758a641ae25d6fbd8422e
tree0fbf243668dd6999203ff44afa6bd402d5b7aa60
parentd633ad37e4876f97e4448b46c1fc2696b487a574
Remove unused parts of the purpose API

Most of this is the ability to add custom purposes. Also the astounding
X509_STORE_CTX_purpose_inherit(). The names are used by PHP, and M2Crypto
exposes X509_check_purpose(), so these remain public. Some weird, most
likely invalid, uses also remain in rust-openssl.

ok jsing
lib/libcrypto/Symbols.list
lib/libcrypto/Symbols.namespace
lib/libcrypto/hidden/openssl/x509_vfy.h
lib/libcrypto/hidden/openssl/x509v3.h
lib/libcrypto/x509/x509_local.h
lib/libcrypto/x509/x509_purp.c
lib/libcrypto/x509/x509_vfy.c
lib/libcrypto/x509/x509_vfy.h
lib/libcrypto/x509/x509v3.h