diff options
author | Matt Caswell <matt@openssl.org> | 2020-06-15 17:48:39 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-06-19 10:34:58 +0100 |
commit | 9ee77767b2186a4f0933ebfe2ba5caa83d814f4c (patch) | |
tree | af579b421631eba5faf9f30d684eb3ae45c7ff64 /test/recipes | |
parent | febe6bb727082b07a6ffbf64b3b1b0dd871ec000 (diff) | |
download | openssl-9ee77767b2186a4f0933ebfe2ba5caa83d814f4c.tar.gz |
Add a test for d2i_AutoPrivateKey_ex with a non-default libctx
Really this test should go in evp_extra_test. However that doesn't
currently support a non-default libctx (with the "null" provider in the
default libctx). So (for now) we create evp_extra_test2.c
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12159)
Diffstat (limited to 'test/recipes')
-rw-r--r-- | test/recipes/30-test_evp_extra.t | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/recipes/30-test_evp_extra.t b/test/recipes/30-test_evp_extra.t index 3f4b963fdb..87dc328bcb 100644 --- a/test/recipes/30-test_evp_extra.t +++ b/test/recipes/30-test_evp_extra.t @@ -14,6 +14,7 @@ use OpenSSL::Test qw/:DEFAULT bldtop_dir/; setup("test_evp_extra"); -plan tests => 1; +plan tests => 2; ok(run(test(["evp_extra_test"])), "running evp_extra_test"); +ok(run(test(["evp_extra_test2"])), "running evp_extra_test2"); |