summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authortb <>2025-12-20 21:04:07 +0000
committertb <>2025-12-20 21:04:07 +0000
commit36be1ad71713676e11cc27d24c37e26cc5e50cec (patch)
tree79b83491758aea011f2b4bfa83257c259a479e46 /src/lib
parent0328249cfb85e5c9c785d6dad76605f26b684210 (diff)
downloadopenbsd-36be1ad71713676e11cc27d24c37e26cc5e50cec.tar.gz
openbsd-36be1ad71713676e11cc27d24c37e26cc5e50cec.tar.bz2
openbsd-36be1ad71713676e11cc27d24c37e26cc5e50cec.zip
conf_api: remove a few rather useless history tidbits
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/conf/conf_api.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libcrypto/conf/conf_api.c b/src/lib/libcrypto/conf/conf_api.c
index f986243b65..d223675b14 100644
--- a/src/lib/libcrypto/conf/conf_api.c
+++ b/src/lib/libcrypto/conf/conf_api.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: conf_api.c,v 1.26 2025/03/08 09:35:53 tb Exp $ */ 1/* $OpenBSD: conf_api.c,v 1.27 2025/12/20 21:04:07 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -56,8 +56,6 @@
56 * [including the GNU Public Licence.] 56 * [including the GNU Public Licence.]
57 */ 57 */
58 58
59/* Part of the code in here was originally in conf.c, which is now removed */
60
61#ifndef CONF_DEBUG 59#ifndef CONF_DEBUG
62# undef NDEBUG /* avoid conflicting definitions */ 60# undef NDEBUG /* avoid conflicting definitions */
63# define NDEBUG 61# define NDEBUG
@@ -77,7 +75,6 @@ static IMPLEMENT_LHASH_DOALL_ARG_FN(value_free_hash, CONF_VALUE,
77 LHASH_OF(CONF_VALUE)) 75 LHASH_OF(CONF_VALUE))
78static IMPLEMENT_LHASH_DOALL_FN(value_free_stack, CONF_VALUE) 76static IMPLEMENT_LHASH_DOALL_FN(value_free_stack, CONF_VALUE)
79 77
80/* Up until OpenSSL 0.9.5a, this was get_section */
81CONF_VALUE * 78CONF_VALUE *
82_CONF_get_section(const CONF *conf, const char *section) 79_CONF_get_section(const CONF *conf, const char *section)
83{ 80{
@@ -229,7 +226,6 @@ value_free_stack_doall(CONF_VALUE *a)
229 free(a); 226 free(a);
230} 227}
231 228
232/* Up until OpenSSL 0.9.5a, this was new_section */
233CONF_VALUE * 229CONF_VALUE *
234_CONF_new_section(CONF *conf, const char *section) 230_CONF_new_section(CONF *conf, const char *section)
235{ 231{