diff options
Diffstat (limited to 'src/lib/libcrypto/conf/conf_api.c')
-rw-r--r-- | src/lib/libcrypto/conf/conf_api.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/libcrypto/conf/conf_api.c b/src/lib/libcrypto/conf/conf_api.c index 6fe071e12c..464edcd4ff 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.16 2023/07/08 08:26:26 beck Exp $ */ | 1 | /* $OpenBSD: conf_api.c,v 1.17 2024/01/24 14:05:10 jsing 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 | * |
@@ -205,9 +205,6 @@ _CONF_free_data(CONF *conf) | |||
205 | if (conf == NULL || conf->data == NULL) | 205 | if (conf == NULL || conf->data == NULL) |
206 | return; | 206 | return; |
207 | 207 | ||
208 | lh_CONF_VALUE_down_load(conf->data) = 0; /* evil thing to make | ||
209 | * sure the 'free()' works as | ||
210 | * expected */ | ||
211 | lh_CONF_VALUE_doall_arg(conf->data, | 208 | lh_CONF_VALUE_doall_arg(conf->data, |
212 | LHASH_DOALL_ARG_FN(value_free_hash), | 209 | LHASH_DOALL_ARG_FN(value_free_hash), |
213 | LHASH_OF(CONF_VALUE), conf->data); | 210 | LHASH_OF(CONF_VALUE), conf->data); |