diff options
author | Tomas Mraz <tmraz@fedoraproject.org> | 2018-03-19 10:01:39 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2018-03-19 10:22:49 -0400 |
commit | 8a5ed9dce8ee36b4bb05cb928fa7a01aba6d8e41 (patch) | |
tree | 3b942fbfeb7c69a11ed45db6993cd39455ea7e0a /test/sysdefault.cnf | |
parent | 440bce8f813fa661437ce52378c3df38e2fd073b (diff) | |
download | openssl-8a5ed9dce8ee36b4bb05cb928fa7a01aba6d8e41.tar.gz |
Apply system_default configuration on SSL_CTX_new().
When SSL_CTX is created preinitialize it with system default
configuration from system_default section.
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4848)
Diffstat (limited to 'test/sysdefault.cnf')
-rw-r--r-- | test/sysdefault.cnf | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/sysdefault.cnf b/test/sysdefault.cnf new file mode 100644 index 0000000000..5473d837c1 --- /dev/null +++ b/test/sysdefault.cnf @@ -0,0 +1,15 @@ +# Configuration file to test system default SSL configuration + +openssl_conf = default_conf + +[ default_conf ] + +ssl_conf = ssl_sect + +[ssl_sect] + +system_default = ssl_default_sect + +[ssl_default_sect] +MaxProtocol = TLSv1.2 +MinProtocol = TLSv1.2 |