From 21569680041274b11a0f3de31bc00bdf52ddaa11 Mon Sep 17 00:00:00 2001 From: tb <> Date: Sat, 31 Aug 2024 09:29:03 +0000 Subject: Retire conf_api.h and the API therein This makes the _CONF_* layer of the conf module internal and gets rid of the entirely unused conf_api.h. ok beck jsing --- src/lib/libcrypto/conf/conf_api.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/lib/libcrypto/conf/conf_api.c') diff --git a/src/lib/libcrypto/conf/conf_api.c b/src/lib/libcrypto/conf/conf_api.c index 348c4ff744..d00c698148 100644 --- a/src/lib/libcrypto/conf/conf_api.c +++ b/src/lib/libcrypto/conf/conf_api.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf_api.c,v 1.20 2024/08/31 09:21:44 tb Exp $ */ +/* $OpenBSD: conf_api.c,v 1.21 2024/08/31 09:29:03 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -67,7 +67,6 @@ #include #include #include -#include #include "conf_local.h" @@ -91,7 +90,6 @@ _CONF_get_section(const CONF *conf, const char *section) v = lh_CONF_VALUE_retrieve(conf->data, &vv); return (v); } -LCRYPTO_ALIAS(_CONF_get_section); /* Up until OpenSSL 0.9.5a, this was CONF_get_section */ STACK_OF(CONF_VALUE) * @@ -105,7 +103,6 @@ _CONF_get_section_values(const CONF *conf, const char *section) else return (NULL); } -LCRYPTO_ALIAS(_CONF_get_section_values); int _CONF_add_string(CONF *conf, CONF_VALUE *section, CONF_VALUE *value) @@ -129,7 +126,6 @@ _CONF_add_string(CONF *conf, CONF_VALUE *section, CONF_VALUE *value) } return 1; } -LCRYPTO_ALIAS(_CONF_add_string); char * _CONF_get_string(const CONF *conf, const char *section, const char *name) @@ -156,7 +152,6 @@ _CONF_get_string(const CONF *conf, const char *section, const char *name) } else return (NULL); } -LCRYPTO_ALIAS(_CONF_get_string); static unsigned long conf_value_hash(const CONF_VALUE *v) @@ -199,7 +194,6 @@ _CONF_new_data(CONF *conf) } return 1; } -LCRYPTO_ALIAS(_CONF_new_data); void _CONF_free_data(CONF *conf) @@ -217,7 +211,6 @@ _CONF_free_data(CONF *conf) lh_CONF_VALUE_doall(conf->data, LHASH_DOALL_FN(value_free_stack)); lh_CONF_VALUE_free(conf->data); } -LCRYPTO_ALIAS(_CONF_free_data); static void value_free_hash_doall_arg(CONF_VALUE *a, LHASH_OF(CONF_VALUE) *conf) @@ -282,4 +275,3 @@ err: } return (v); } -LCRYPTO_ALIAS(_CONF_new_section); -- cgit v1.2.3-55-g6feb