summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509_conf.c
diff options
context:
space:
mode:
authortb <>2025-03-06 07:17:45 +0000
committertb <>2025-03-06 07:17:45 +0000
commit7ba73de5bad4e9854b7bc986be7422f1442cf0f0 (patch)
treedf2c2d15eb592c99b1647a2aa8e6635bb7807ccc /src/lib/libcrypto/x509/x509_conf.c
parent7cf910209b8c19059d2454d770b7774814cfdc6e (diff)
downloadopenbsd-7ba73de5bad4e9854b7bc986be7422f1442cf0f0.tar.gz
openbsd-7ba73de5bad4e9854b7bc986be7422f1442cf0f0.tar.bz2
openbsd-7ba73de5bad4e9854b7bc986be7422f1442cf0f0.zip
Garbage collect X509V3_section_free()
Historically, X509V3_section_free() could be customized by the conf db method to release memory allocated by X509V3_get_section(). This is no longer supported, so it is always a noop and can be removed. ok jsing
Diffstat (limited to 'src/lib/libcrypto/x509/x509_conf.c')
-rw-r--r--src/lib/libcrypto/x509/x509_conf.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/lib/libcrypto/x509/x509_conf.c b/src/lib/libcrypto/x509/x509_conf.c
index 51f92d43e4..1047540a88 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.27 2024/08/31 10:04:50 tb Exp $ */ 1/* $OpenBSD: x509_conf.c,v 1.28 2025/03/06 07:17:45 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 */
@@ -415,12 +415,6 @@ X509V3_get_section(X509V3_CTX *ctx, const char *section)
415} 415}
416 416
417void 417void
418X509V3_section_free(X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *section)
419{
420 return;
421}
422
423void
424X509V3_set_nconf(X509V3_CTX *ctx, CONF *conf) 418X509V3_set_nconf(X509V3_CTX *ctx, CONF *conf)
425{ 419{
426 ctx->db = conf; 420 ctx->db = conf;