diff options
author | Matt Caswell <matt@openssl.org> | 2021-04-29 17:37:42 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2021-05-11 15:59:43 +0200 |
commit | 8c627075656cf2709680eeb5aa1826f00db2e483 (patch) | |
tree | e9c1e8ac25bf22bfefa28d3a5871b1a67ac16eda /test/provider_internal_test.c | |
parent | Add a test to check that child provider callbacks are working (diff) | |
download | openssl-8c627075656cf2709680eeb5aa1826f00db2e483.tar.xz openssl-8c627075656cf2709680eeb5aa1826f00db2e483.zip |
Add support for child provider to up_ref/free their parent
If the ref counts on a child provider change, then this needs to be
reflected in the parent so we add callbacks to do this.
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14991)
Diffstat (limited to 'test/provider_internal_test.c')
-rw-r--r-- | test/provider_internal_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/provider_internal_test.c b/test/provider_internal_test.c index 7bf2b8e272..2341dd3dac 100644 --- a/test/provider_internal_test.c +++ b/test/provider_internal_test.c @@ -26,7 +26,7 @@ static int test_provider(OSSL_PROVIDER *prov, const char *expected_greeting) int ret = 0; ret = - TEST_true(ossl_provider_activate(prov, 0)) + TEST_true(ossl_provider_activate(prov, 0, 1)) && TEST_true(ossl_provider_get_params(prov, greeting_request)) && TEST_ptr(greeting = greeting_request[0].data) && TEST_size_t_gt(greeting_request[0].data_size, 0) |