Allow the syntax of the .include directive to optionally have '='
authorTomas Mraz <tmraz@fedoraproject.org>
Fri, 1 Feb 2019 13:32:36 +0000 (14:32 +0100)
committerRichard Levitte <levitte@openssl.org>
Mon, 11 Feb 2019 14:25:00 +0000 (15:25 +0100)
commit95f59d398c3f28f7ee50f092106c5910d25f9e30
tree4bdea915f77e3231ff129c052523bbc1461172a0
parenta12b338f06442573a04932dbedaad3023113ee25
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)
crypto/conf/conf_def.c
doc/man5/config.pod
test/recipes/90-test_includes.t
test/recipes/90-test_includes_data/includes-eq-ws.cnf [new file with mode: 0644]
test/recipes/90-test_includes_data/includes-eq.cnf [new file with mode: 0644]