NAME_CONSTRAINTS_new
NCONF_default
NCONF_free
-NCONF_free_data
NCONF_get_number_e
NCONF_get_section
NCONF_get_string
-/* $OpenBSD: conf.h,v 1.22 2024/08/31 09:39:31 tb Exp $ */
+/* $OpenBSD: conf.h,v 1.23 2024/08/31 09:41:53 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
CONF *NCONF_new(const CONF_METHOD *meth);
const CONF_METHOD *NCONF_default(void);
void NCONF_free(CONF *conf);
-void NCONF_free_data(CONF *conf);
int NCONF_load(CONF *conf, const char *file, long *eline);
int NCONF_load_bio(CONF *conf, BIO *bp, long *eline);
-/* $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.
*/
CONF ctmp;
CONF_set_nconf(&ctmp, conf);
- NCONF_free_data(&ctmp);
+ ctmp.meth->destroy_data(&ctmp);
}
LCRYPTO_ALIAS(CONF_free);
}
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)
{
-/* $OpenBSD: conf.h,v 1.4 2024/08/31 09:34:05 tb Exp $ */
+/* $OpenBSD: conf.h,v 1.5 2024/08/31 09:41:53 tb Exp $ */
/*
* Copyright (c) 2024 Bob Beck <beck@openbsd.org>
*
LCRYPTO_USED(NCONF_new);
LCRYPTO_USED(NCONF_default);
LCRYPTO_USED(NCONF_free);
-LCRYPTO_USED(NCONF_free_data);
LCRYPTO_USED(NCONF_load);
LCRYPTO_USED(NCONF_load_bio);
LCRYPTO_USED(NCONF_get_section);