diff options
author | Neil Horman <nhorman@openssl.org> | 2024-04-03 15:18:33 -0400 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2024-04-18 18:38:39 +0200 |
commit | 91a77cbf66c575345cf1eab31717e8edafcd1633 (patch) | |
tree | 4a8632d21110826f49449b593b8fe092df5b02b3 /test/pathed.cnf | |
parent | bc9595963a45e28e6a8b2de45a6719c252bd3a3d (diff) | |
download | openssl-91a77cbf66c575345cf1eab31717e8edafcd1633.zip openssl-91a77cbf66c575345cf1eab31717e8edafcd1633.tar.gz openssl-91a77cbf66c575345cf1eab31717e8edafcd1633.tar.bz2 |
Add test for OSSL_PROVIDER_load with module path set
Ensure that, with the modulepath setting set in a config field, that we
are able to load a provider from the path relative to OPENSSL_MODULES
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24025)
Diffstat (limited to 'test/pathed.cnf')
-rw-r--r-- | test/pathed.cnf | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/pathed.cnf b/test/pathed.cnf new file mode 100644 index 0000000..07bdc1f --- /dev/null +++ b/test/pathed.cnf @@ -0,0 +1,22 @@ +openssl_conf = openssl_init + +# Comment out the next line to ignore configuration errors +config_diagnostics = 1 + +[openssl_init] +providers = provider_sect + +[provider_sect] +default = default_sect +legacy = legacy_sect +test = test_sect + +[test_sect] +module = ../test/p_test.so +activate = false + +[default_sect] +activate = true + +[legacy_sect] +activate = false |