summaryrefslogtreecommitdiffstats
path: root/test/fips-and-base.cnf
diff options
context:
space:
mode:
authorNicola Tuveri <nic.tuv@gmail.com>2020-06-27 00:40:30 +0200
committerNicola Tuveri <nic.tuv@gmail.com>2020-08-24 13:49:03 +0200
commit39d9be390a16d3bc5c2b94ad31b705f8239af779 (patch)
tree36d7ab5b6136c01b0d476acf88ce9ddee2664bd8 /test/fips-and-base.cnf
parentSTORE: Change all error recording to use ERR_raise() / ERR_raise_data() (diff)
downloadopenssl-39d9be390a16d3bc5c2b94ad31b705f8239af779.tar.xz
openssl-39d9be390a16d3bc5c2b94ad31b705f8239af779.zip
Add CLI tests in FIPS configuration
Add positive and negative tests of CLI apps using configuration files via environment variables to force FIPS mode. Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/12291)
Diffstat (limited to 'test/fips-and-base.cnf')
-rw-r--r--test/fips-and-base.cnf13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/fips-and-base.cnf b/test/fips-and-base.cnf
new file mode 100644
index 0000000000..0caf2b88a4
--- /dev/null
+++ b/test/fips-and-base.cnf
@@ -0,0 +1,13 @@
+openssl_conf = openssl_init
+
+.include fipsmodule.cnf
+
+[openssl_init]
+providers = provider_sect
+
+[provider_sect]
+fips = fips_sect
+base = base_sect
+
+[base_sect]
+activate = 1