summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509
diff options
context:
space:
mode:
authortb <>2024-08-31 09:59:12 +0000
committertb <>2024-08-31 09:59:12 +0000
commit70c68be40e8d2b9bc6a7c285008b28469e91524f (patch)
tree7016f71e4d6409ed51ab72981c135a0cdddf6cbc /src/lib/libcrypto/x509
parent0b73461aad72aad7b711e91584f5fe1259244e3d (diff)
downloadopenbsd-70c68be40e8d2b9bc6a7c285008b28469e91524f.tar.gz
openbsd-70c68be40e8d2b9bc6a7c285008b28469e91524f.tar.bz2
openbsd-70c68be40e8d2b9bc6a7c285008b28469e91524f.zip
Retire X509V3_set_conf_lhash()
Thankfully sthen removed the out-of-support PHP versions 7.4 and 8.0, which were the last users of this API, which in turn permitted much of this conf rampage. Now the stub can join its guts in the attic. ok beck jsing
Diffstat (limited to 'src/lib/libcrypto/x509')
-rw-r--r--src/lib/libcrypto/x509/x509_conf.c12
-rw-r--r--src/lib/libcrypto/x509/x509v3.h3
2 files changed, 2 insertions, 13 deletions
diff --git a/src/lib/libcrypto/x509/x509_conf.c b/src/lib/libcrypto/x509/x509_conf.c
index dee9bf65e0..ab78649453 100644
--- a/src/lib/libcrypto/x509/x509_conf.c
+++ b/src/lib/libcrypto/x509/x509_conf.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_conf.c,v 1.24 2024/08/31 09:56:50 tb Exp $ */ 1/* $OpenBSD: x509_conf.c,v 1.25 2024/08/31 09:59:12 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 1999. 3 * project 1999.
4 */ 4 */
@@ -479,13 +479,3 @@ X509V3_EXT_conf_nid(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx, int nid,
479 return X509V3_EXT_nconf_nid(&ctmp, ctx, nid, value); 479 return X509V3_EXT_nconf_nid(&ctmp, ctx, nid, value);
480} 480}
481LCRYPTO_ALIAS(X509V3_EXT_conf_nid); 481LCRYPTO_ALIAS(X509V3_EXT_conf_nid);
482
483/*
484 * XXX - remove everything below in the next bump.
485 */
486
487void
488X509V3_set_conf_lhash(X509V3_CTX *ctx, LHASH_OF(CONF_VALUE) *lhash)
489{
490}
491LCRYPTO_ALIAS(X509V3_set_conf_lhash);
diff --git a/src/lib/libcrypto/x509/x509v3.h b/src/lib/libcrypto/x509/x509v3.h
index 6470f059ee..6a18c1f153 100644
--- a/src/lib/libcrypto/x509/x509v3.h
+++ b/src/lib/libcrypto/x509/x509v3.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509v3.h,v 1.31 2024/08/31 09:56:50 tb Exp $ */ 1/* $OpenBSD: x509v3.h,v 1.32 2024/08/31 09:59:12 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 1999. 3 * project 1999.
4 */ 4 */
@@ -653,7 +653,6 @@ int X509V3_add_value_bool_nf(const char *name, int asn1_bool,
653int X509V3_get_value_bool(const CONF_VALUE *value, int *asn1_bool); 653int X509V3_get_value_bool(const CONF_VALUE *value, int *asn1_bool);
654int X509V3_get_value_int(const CONF_VALUE *value, ASN1_INTEGER **aint); 654int X509V3_get_value_int(const CONF_VALUE *value, ASN1_INTEGER **aint);
655void X509V3_set_nconf(X509V3_CTX *ctx, CONF *conf); 655void X509V3_set_nconf(X509V3_CTX *ctx, CONF *conf);
656void X509V3_set_conf_lhash(X509V3_CTX *ctx, LHASH_OF(CONF_VALUE) *lhash);
657#endif 656#endif
658 657
659char *X509V3_get_string(X509V3_CTX *ctx, const char *name, 658char *X509V3_get_string(X509V3_CTX *ctx, const char *name,