summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/hidden/openssl/x509_vfy.h
diff options
context:
space:
mode:
authortb <>2024-03-02 10:40:05 +0000
committertb <>2024-03-02 10:40:05 +0000
commit5a6928bc4b6854c45366b0767c4f86969e8f1e70 (patch)
treeccdc757e4067b1c1acd01e63ce831c832b72e204 /src/lib/libcrypto/hidden/openssl/x509_vfy.h
parentbb1a2b0bc26345c9c52fa57aebfca43c2a1e8e60 (diff)
downloadopenbsd-5a6928bc4b6854c45366b0767c4f86969e8f1e70.tar.gz
openbsd-5a6928bc4b6854c45366b0767c4f86969e8f1e70.tar.bz2
openbsd-5a6928bc4b6854c45366b0767c4f86969e8f1e70.zip
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
Diffstat (limited to 'src/lib/libcrypto/hidden/openssl/x509_vfy.h')
-rw-r--r--src/lib/libcrypto/hidden/openssl/x509_vfy.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/hidden/openssl/x509_vfy.h b/src/lib/libcrypto/hidden/openssl/x509_vfy.h
index 3502492133..88d8b143df 100644
--- a/src/lib/libcrypto/hidden/openssl/x509_vfy.h
+++ b/src/lib/libcrypto/hidden/openssl/x509_vfy.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_vfy.h,v 1.7 2024/02/23 10:39:07 tb Exp $ */ 1/* $OpenBSD: x509_vfy.h,v 1.8 2024/03/02 10:40:05 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2022 Bob Beck <beck@openbsd.org> 3 * Copyright (c) 2022 Bob Beck <beck@openbsd.org>
4 * 4 *
@@ -109,7 +109,6 @@ LCRYPTO_USED(X509_STORE_CTX_set_chain);
109LCRYPTO_USED(X509_STORE_CTX_set0_crls); 109LCRYPTO_USED(X509_STORE_CTX_set0_crls);
110LCRYPTO_USED(X509_STORE_CTX_set_purpose); 110LCRYPTO_USED(X509_STORE_CTX_set_purpose);
111LCRYPTO_USED(X509_STORE_CTX_set_trust); 111LCRYPTO_USED(X509_STORE_CTX_set_trust);
112LCRYPTO_USED(X509_STORE_CTX_purpose_inherit);
113LCRYPTO_USED(X509_STORE_CTX_set_flags); 112LCRYPTO_USED(X509_STORE_CTX_set_flags);
114LCRYPTO_USED(X509_STORE_CTX_set_time); 113LCRYPTO_USED(X509_STORE_CTX_set_time);
115LCRYPTO_USED(X509_STORE_CTX_set0_verified_chain); 114LCRYPTO_USED(X509_STORE_CTX_set0_verified_chain);