diff options
author | Matt Caswell <matt@openssl.org> | 2019-07-30 16:42:53 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2019-08-01 09:59:20 +0100 |
commit | 29dc6e00f2a1ec93bbacc5127cecf3412e95e57f (patch) | |
tree | e14982624eb7d057b64d73fdc7a617f49a0ff178 /test/provider_internal_test.c | |
parent | 988b29850b9e7b2b21d680545aeed76273a42a16 (diff) | |
download | openssl-29dc6e00f2a1ec93bbacc5127cecf3412e95e57f.zip openssl-29dc6e00f2a1ec93bbacc5127cecf3412e95e57f.tar.gz openssl-29dc6e00f2a1ec93bbacc5127cecf3412e95e57f.tar.bz2 |
Load the config file by default
Previously we only loaded the config file by default for libssl. Now we do
it for libcrypto too.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9492)
Diffstat (limited to 'test/provider_internal_test.c')
-rw-r--r-- | test/provider_internal_test.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/provider_internal_test.c b/test/provider_internal_test.c index aff858f..478f281 100644 --- a/test/provider_internal_test.c +++ b/test/provider_internal_test.c @@ -55,7 +55,7 @@ static int test_builtin_provider(void) return TEST_ptr(prov = - ossl_provider_new(NULL, name, PROVIDER_INIT_FUNCTION_NAME)) + ossl_provider_new(NULL, name, PROVIDER_INIT_FUNCTION_NAME, 0)) && test_provider(prov, expected_greeting1(name)); } @@ -66,7 +66,7 @@ static int test_loaded_provider(void) OSSL_PROVIDER *prov = NULL; return - TEST_ptr(prov = ossl_provider_new(NULL, name, NULL)) + TEST_ptr(prov = ossl_provider_new(NULL, name, NULL, 0)) && test_provider(prov, expected_greeting1(name)); } @@ -79,8 +79,7 @@ static int test_configured_provider(void) "Hello OpenSSL, greetings from Test Provider"; return - OPENSSL_init_crypto(OPENSSL_INIT_LOAD_CONFIG, NULL) - && TEST_ptr(prov = ossl_provider_find(NULL, name)) + TEST_ptr(prov = ossl_provider_find(NULL, name, 0)) && test_provider(prov, expected_greeting); } #endif |