From ae89578be2930c726d6ef56451233757a89f224f Mon Sep 17 00:00:00 2001 From: Shane Lontis Date: Thu, 23 Jul 2020 17:40:40 +1000 Subject: Test RSA oaep in fips mode Added RSA oaep test that uses the pkeyutl application. Added an openssl application option to support loading a (fips) provider via the '-config' option. Added openssl application related environment variable 'OPENSSL_TEST_LIBCTX' (for testing purposes only), that creates a non default library context. Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/11948) --- apps/include/opt.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/include/opt.h') diff --git a/apps/include/opt.h b/apps/include/opt.h index 5afbad1bbe..ad629c0199 100644 --- a/apps/include/opt.h +++ b/apps/include/opt.h @@ -273,6 +273,9 @@ OPT_PROV_PROVIDER, OPT_PROV_PROVIDER_PATH, \ OPT_PROV__LAST +# define OPT_CONFIG_OPTION \ + { "config", OPT_CONFIG, '<', "Load a configuration file (this may load modules)" } + # define OPT_PROV_OPTIONS \ OPT_SECTION("Provider"), \ { "provider_path", OPT_PROV_PROVIDER_PATH, 's', "Provider load path (must be before 'provider' argument if required)" }, \ -- cgit v1.2.3