summaryrefslogtreecommitdiffstats
path: root/test/null.cnf
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2023-02-20 17:22:57 +0000
committerPauli <pauli@openssl.org>2023-02-22 10:03:14 +1100
commit0aa7d7f42bc757a0993739b6cfdc8819a70d22ef (patch)
tree9ae2691c4cf0a5e8527e985ac0465891957bc65f /test/null.cnf
parent7a6a0baa591e3d04831ed0f468c72dc45feba452 (diff)
Add a test for no initialisation of the default config file
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20341)
Diffstat (limited to 'test/null.cnf')
-rw-r--r--test/null.cnf13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/null.cnf b/test/null.cnf
new file mode 100644
index 0000000000..964f7f3ef4
--- /dev/null
+++ b/test/null.cnf
@@ -0,0 +1,13 @@
+openssl_conf = openssl_init
+
+# Comment out the next line to ignore configuration errors
+config_diagnostics = 1
+
+[openssl_init]
+providers = provider_sect
+
+[provider_sect]
+null = null_sect
+
+[null_sect]
+activate = 1