summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/hidden/openssl/x509v3.h
diff options
context:
space:
mode:
authortb <>2024-03-02 10:35:32 +0000
committertb <>2024-03-02 10:35:32 +0000
commitbb1a2b0bc26345c9c52fa57aebfca43c2a1e8e60 (patch)
tree935205f7c56a42128fa412c247899647f6609756 /src/lib/libcrypto/hidden/openssl/x509v3.h
parent89eb64e4c740465b9ae86211f8cea0d76ff94956 (diff)
downloadopenbsd-bb1a2b0bc26345c9c52fa57aebfca43c2a1e8e60.tar.gz
openbsd-bb1a2b0bc26345c9c52fa57aebfca43c2a1e8e60.tar.bz2
openbsd-bb1a2b0bc26345c9c52fa57aebfca43c2a1e8e60.zip
Remove X509V3_EXT extensibility API
You used to be able to define your own X.509 extension handlers. Great. Even greater: the verifier would ignore any custom extensions. So this was only ever useful for serialization and deserialization. In other words, almost entirely pointless. The API was also unused except for a hack in kore-acme, which was fixed recently. ok jsing
Diffstat (limited to 'src/lib/libcrypto/hidden/openssl/x509v3.h')
-rw-r--r--src/lib/libcrypto/hidden/openssl/x509v3.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libcrypto/hidden/openssl/x509v3.h b/src/lib/libcrypto/hidden/openssl/x509v3.h
index a85c5c26aa..67f6a85bc4 100644
--- a/src/lib/libcrypto/hidden/openssl/x509v3.h
+++ b/src/lib/libcrypto/hidden/openssl/x509v3.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509v3.h,v 1.5 2023/07/05 21:14:54 bcook Exp $ */ 1/* $OpenBSD: x509v3.h,v 1.6 2024/03/02 10:35:32 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2022 Bob Beck <beck@openbsd.org> 3 * Copyright (c) 2022 Bob Beck <beck@openbsd.org>
4 * 4 *
@@ -160,10 +160,6 @@ LCRYPTO_USED(i2s_ASN1_INTEGER);
160LCRYPTO_USED(s2i_ASN1_INTEGER); 160LCRYPTO_USED(s2i_ASN1_INTEGER);
161LCRYPTO_USED(i2s_ASN1_ENUMERATED); 161LCRYPTO_USED(i2s_ASN1_ENUMERATED);
162LCRYPTO_USED(i2s_ASN1_ENUMERATED_TABLE); 162LCRYPTO_USED(i2s_ASN1_ENUMERATED_TABLE);
163LCRYPTO_USED(X509V3_EXT_add);
164LCRYPTO_USED(X509V3_EXT_add_list);
165LCRYPTO_USED(X509V3_EXT_add_alias);
166LCRYPTO_USED(X509V3_EXT_cleanup);
167LCRYPTO_USED(X509V3_EXT_get); 163LCRYPTO_USED(X509V3_EXT_get);
168LCRYPTO_USED(X509V3_EXT_get_nid); 164LCRYPTO_USED(X509V3_EXT_get_nid);
169LCRYPTO_USED(X509V3_add_standard_extensions); 165LCRYPTO_USED(X509V3_add_standard_extensions);