summaryrefslogtreecommitdiff
path: root/test/cmp_protect_test.c
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2020-09-26 15:21:48 +0200
committerDr. David von Oheimb <David.von.Oheimb@siemens.com>2020-12-10 11:01:26 +0100
commitbca7ad6efd0e1e828033cae2440d83322bf3dc01 (patch)
tree57d6dc04ab9481e63ca61e2b5174ce1cc641018f /test/cmp_protect_test.c
parent5ea64b456b1a27ae046f23d632a968a7583bb9eb (diff)
downloadopenssl-new-bca7ad6efd0e1e828033cae2440d83322bf3dc01.tar.gz
Use adapted test_get_libctx() for simpler test setup and better error reporting
Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/13001)
Diffstat (limited to 'test/cmp_protect_test.c')
-rw-r--r--test/cmp_protect_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cmp_protect_test.c b/test/cmp_protect_test.c
index 3cca30144d..d4acb716e7 100644
--- a/test/cmp_protect_test.c
+++ b/test/cmp_protect_test.c
@@ -538,7 +538,7 @@ int setup_tests(void)
return 0;
}
- if (!test_get_libctx(&libctx, &default_null_provider, &provider, 10, USAGE))
+ if (!test_arg_libctx(&libctx, &default_null_provider, &provider, 10, USAGE))
return 0;
if (!TEST_ptr(loadedkey = load_pem_key(server_key_f, libctx))