diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-09-26 15:21:48 +0200 |
---|---|---|
committer | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-12-10 11:01:26 +0100 |
commit | bca7ad6efd0e1e828033cae2440d83322bf3dc01 (patch) | |
tree | 57d6dc04ab9481e63ca61e2b5174ce1cc641018f /test/testutil.h | |
parent | 5ea64b456b1a27ae046f23d632a968a7583bb9eb (diff) | |
download | openssl-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/testutil.h')
-rw-r--r-- | test/testutil.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/testutil.h b/test/testutil.h index f1e3aae6fb..91e4d4bdd9 100644 --- a/test/testutil.h +++ b/test/testutil.h @@ -205,8 +205,10 @@ size_t test_get_argument_count(void); */ int test_skip_common_options(void); -int test_get_libctx(OSSL_LIB_CTX **libctx, - OSSL_PROVIDER **default_null_provider, +int test_get_libctx(OSSL_LIB_CTX **libctx, OSSL_PROVIDER **default_null_prov, + const char *config_file, + OSSL_PROVIDER **provider, const char *module_name); +int test_arg_libctx(OSSL_LIB_CTX **libctx, OSSL_PROVIDER **default_null_prov, OSSL_PROVIDER **provider, int argn, const char *usage); /* |