summaryrefslogtreecommitdiff
path: root/lib/libcrypto/conf/conf_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcrypto/conf/conf_lib.c')
-rw-r--r--lib/libcrypto/conf/conf_lib.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/lib/libcrypto/conf/conf_lib.c b/lib/libcrypto/conf/conf_lib.c
index d7a2870520a..4440cfe6fde 100644
--- a/lib/libcrypto/conf/conf_lib.c
+++ b/lib/libcrypto/conf/conf_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf_lib.c,v 1.22 2024/08/31 09:39:31 tb Exp $ */
+/* $OpenBSD: conf_lib.c,v 1.23 2024/08/31 09:41:53 tb Exp $ */
/* Written by Richard Levitte (richard@levitte.org) for the OpenSSL
* project 2000.
*/
@@ -191,7 +191,7 @@ CONF_free(LHASH_OF(CONF_VALUE) *conf)
CONF ctmp;
CONF_set_nconf(&ctmp, conf);
- NCONF_free_data(&ctmp);
+ ctmp.meth->destroy_data(&ctmp);
}
LCRYPTO_ALIAS(CONF_free);
@@ -228,15 +228,6 @@ NCONF_free(CONF *conf)
}
LCRYPTO_ALIAS(NCONF_free);
-void
-NCONF_free_data(CONF *conf)
-{
- if (conf == NULL)
- return;
- conf->meth->destroy_data(conf);
-}
-LCRYPTO_ALIAS(NCONF_free_data);
-
int
NCONF_load(CONF *conf, const char *file, long *eline)
{