Add support for .include directive in config files
authorTomas Mraz <tmraz@fedoraproject.org>
Tue, 27 Feb 2018 12:55:35 +0000 (13:55 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 5 Mar 2018 13:32:40 +0000 (13:32 +0000)
commitb524b808a1d1ba204dbdcbb42de4e3bddb3472ac
tree4b183c1e0737609272adea1a608f4c3c0064f65b
parentaa2ed504ea9d55be6e75a9647d874709dc71823b
Add support for .include directive in config files

Either files or directories of *.cnf or *.conf files
can be included.
Recursive inclusion of directories is not supported.

Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5351)
15 files changed:
apps/openssl-vms.cnf
apps/openssl.cnf
crypto/conf/conf_def.c
crypto/conf/conf_err.c
crypto/err/openssl.txt
doc/man5/config.pod
include/openssl/conferr.h
test/build.info
test/conf_include_test.c [new file with mode: 0644]
test/recipes/90-test_includes.t [new file with mode: 0644]
test/recipes/90-test_includes_data/conf-includes/includes1.cnf [new file with mode: 0644]
test/recipes/90-test_includes_data/conf-includes/includes2.cnf [new file with mode: 0644]
test/recipes/90-test_includes_data/includes-broken.cnf [new file with mode: 0644]
test/recipes/90-test_includes_data/includes-file.cnf [new file with mode: 0644]
test/recipes/90-test_includes_data/includes.cnf [new file with mode: 0644]