EVP_get_default_properties - implementation

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25434)
This commit is contained in:
Dmitry Belyavskiy 2024-09-11 16:02:14 +02:00 committed by Pauli
parent 0fdf965bf0
commit 54fb2fd013
2 changed files with 6 additions and 0 deletions

View File

@ -581,6 +581,11 @@ char *evp_get_global_properties_str(OSSL_LIB_CTX *libctx, int loadconfig)
return propstr;
}
char *EVP_get1_default_properties(OSSL_LIB_CTX *libctx)
{
return evp_get_global_properties_str(libctx, ossl_lib_ctx_is_global_default(libctx));
}
struct filter_data_st {
int operation_id;
void (*user_fn)(void *method, void *arg);

View File

@ -98,6 +98,7 @@ extern "C" {
#endif
int EVP_set_default_properties(OSSL_LIB_CTX *libctx, const char *propq);
char *EVP_get1_default_properties(OSSL_LIB_CTX *libctx);
int EVP_default_properties_is_fips_enabled(OSSL_LIB_CTX *libctx);
int EVP_default_properties_enable_fips(OSSL_LIB_CTX *libctx, int enable);