diff options
author | Tomas Mraz <tomas@openssl.org> | 2021-05-27 11:00:35 +0200 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-06-02 12:40:02 +1000 |
commit | b3c2ed7043233bd738957a7fcdf9e0734bfea937 (patch) | |
tree | 6ac0121007843e1bea0b0bf3fed25e8415221689 /include | |
parent | 6b750b89ee9ad3952b1b25e47b848abc8b60e7dd (diff) |
Add NCONF_get_section_names()
And a few additional fixups to make the no-deprecated configuration
to build.
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15466)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/conf.h.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/openssl/conf.h.in b/include/openssl/conf.h.in index 02c1558871..b0bd579aa4 100644 --- a/include/openssl/conf.h.in +++ b/include/openssl/conf.h.in @@ -106,7 +106,7 @@ OSSL_DEPRECATEDIN_1_1_0 void OPENSSL_config(const char *config_name); */ CONF *NCONF_new_ex(OSSL_LIB_CTX *libctx, CONF_METHOD *meth); -OSSL_LIB_CTX *NCONF_get0_libctx(CONF *conf); +OSSL_LIB_CTX *NCONF_get0_libctx(const CONF *conf); CONF *NCONF_new(CONF_METHOD *meth); CONF_METHOD *NCONF_default(void); #ifndef OPENSSL_NO_DEPRECATED_3_0 @@ -120,6 +120,7 @@ int NCONF_load(CONF *conf, const char *file, long *eline); int NCONF_load_fp(CONF *conf, FILE *fp, long *eline); # endif int NCONF_load_bio(CONF *conf, BIO *bp, long *eline); +STACK_OF(OPENSSL_CSTRING) *NCONF_get_section_names(const CONF *conf); STACK_OF(CONF_VALUE) *NCONF_get_section(const CONF *conf, const char *section); char *NCONF_get_string(const CONF *conf, const char *group, const char *name); |