summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorTomas Mraz <tmraz@fedoraproject.org>2019-02-01 14:32:36 +0100
committerRichard Levitte <levitte@openssl.org>2019-02-11 15:25:00 +0100
commit95f59d398c3f28f7ee50f092106c5910d25f9e30 (patch)
tree4bdea915f77e3231ff129c052523bbc1461172a0 /doc
parenta12b338f06442573a04932dbedaad3023113ee25 (diff)
Allow the syntax of the .include directive to optionally have '='
If the old openssl versions not supporting the .include directive load a config file with it, they will bail out with error. This change allows using the .include = <filename> syntax which is interpreted as variable assignment by the old openssl config file parser. Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/8141) (cherry picked from commit 9d5560331d86c6463e965321f774e4eed582ce0b)
Diffstat (limited to 'doc')
-rw-r--r--doc/man5/config.pod7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/man5/config.pod b/doc/man5/config.pod
index 3e110b0313..7f21cdcc96 100644
--- a/doc/man5/config.pod
+++ b/doc/man5/config.pod
@@ -42,6 +42,13 @@ working directory so unless the configuration file containing the
B<.include> directive is application specific the inclusion will not
work as expected.
+There can be optional B<=> character and whitespace characters between
+B<.include> directive and the path which can be useful in cases the
+configuration file needs to be loaded by old OpenSSL versions which do
+not support the B<.include> syntax. They would bail out with error
+if the B<=> character is not present but with it they just ignore
+the include.
+
Each section in a configuration file consists of a number of name and
value pairs of the form B<name=value>