summaryrefslogtreecommitdiffstats
path: root/apps/include/opt.h
diff options
context:
space:
mode:
authorShane Lontis <shane.lontis@oracle.com>2020-07-23 17:40:40 +1000
committerShane Lontis <shane.lontis@oracle.com>2020-07-23 17:40:40 +1000
commitae89578be2930c726d6ef56451233757a89f224f (patch)
treedfe6f7fb5bc4b550b67bea0fe219fd6a132bd944 /apps/include/opt.h
parenta27cb956c02220c502449176a8834b1d9643ac23 (diff)
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 <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/11948)
Diffstat (limited to 'apps/include/opt.h')
-rw-r--r--apps/include/opt.h3
1 files changed, 3 insertions, 0 deletions
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)" }, \