summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crypto/evp/evp_fetch.c5
-rw-r--r--include/openssl/evp.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/crypto/evp/evp_fetch.c b/crypto/evp/evp_fetch.c
index 2067c4062f..408b3897c9 100644
--- a/crypto/evp/evp_fetch.c
+++ b/crypto/evp/evp_fetch.c
@@ -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);
diff --git a/include/openssl/evp.h b/include/openssl/evp.h
index 5466327087..94d13f1fcd 100644
--- a/include/openssl/evp.h
+++ b/include/openssl/evp.h
@@ -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);