From 2e516292d11e30ec84eecc077627ef618fac72af Mon Sep 17 00:00:00 2001 From: Torben Hansen <50673096+torben-hansen@users.noreply.github.com> Date: Fri, 19 Apr 2024 11:23:55 -0700 Subject: [PATCH] Re-add function --- include/openssl/x509.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/openssl/x509.h b/include/openssl/x509.h index 17e4100847..1d82962518 100644 --- a/include/openssl/x509.h +++ b/include/openssl/x509.h @@ -2819,6 +2819,16 @@ OPENSSL_EXPORT int X509V3_EXT_CRL_add_nconf(const CONF *conf, const X509V3_CTX *ctx, const char *section, X509_CRL *crl); +// X509V3_EXT_conf calls |X509V3_EXT_nconf|. |conf| must be NULL. +// +// NOTE: This is only provided for compatibility. See |X509V3_EXT_nconf| +// instead. +OPENSSL_EXPORT X509_EXTENSION *X509V3_EXT_conf(LHASH_OF(CONF_VALUE) *conf, + X509V3_CTX *ctx, + const char *name, + const char *value); + + // Deprecated functions. // X509_get_notBefore returns |x509|'s notBefore time. Note this function is not