diff options
author | Matt Caswell <matt@openssl.org> | 2020-07-31 17:29:21 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-08-17 11:27:51 +0100 |
commit | e6c54619d151eeec32055bbd713cda11a9182246 (patch) | |
tree | 7d1e275da8ee5d4ecbe66ae3c5593573b48dc1f2 /include/internal/property.h | |
parent | ebe3f24b3d53e503bd37a2a08a8b1f896014c30d (diff) |
Load the default config file before working with default properties
A config file can change the global default properties. Therefore we
must ensure that the config file is loaded before reading or amending
them.
Fixes #12565
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12567)
Diffstat (limited to 'include/internal/property.h')
-rw-r--r-- | include/internal/property.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/internal/property.h b/include/internal/property.h index ca1d1e055c..cd3982549d 100644 --- a/include/internal/property.h +++ b/include/internal/property.h @@ -45,7 +45,7 @@ int ossl_method_store_fetch(OSSL_METHOD_STORE *store, int nid, const char *prop_query, void **method); /* Get the global properties associate with the specified library context */ -OSSL_PROPERTY_LIST **ossl_ctx_global_properties(OPENSSL_CTX *ctx); +OSSL_PROPERTY_LIST **ossl_ctx_global_properties(OPENSSL_CTX *ctx, int loadconfig); /* property query cache functions */ int ossl_method_store_cache_get(OSSL_METHOD_STORE *store, int nid, |