settings: Don't allow dots in section/key names anymore
authorTobias Brunner <tobias@strongswan.org>
Thu, 31 May 2018 09:46:29 +0000 (11:46 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 11 Sep 2018 16:30:18 +0000 (18:30 +0200)
commit71dca60c318b60b7ecbf2466ab4fbfd3fb7b4991
tree8b3ce3bb0b03d7b801fc1ec084b4fbb0c24244e6
parent85afe81e1f7c4e2d44d21acae0d393a23cef5376
settings: Don't allow dots in section/key names anymore

This requires config changes if filelog is used with a path that
contains dots. This path must now be defined in the `path` setting of an
arbitrarily named subsection of `filelog`.  Without that change the
whole strongswan.conf file will fail to load, which some users might
not notice immediately.
conf/strongswan.conf.5.head.in
scripts/settings-test.c
src/libstrongswan/settings/settings_lexer.l
src/libstrongswan/settings/settings_parser.y
src/libstrongswan/tests/suites/test_settings.c