settings: Only purge sections if necessary
authorTobias Brunner <tobias@strongswan.org>
Thu, 13 Mar 2014 15:44:45 +0000 (16:44 +0100)
committerTobias Brunner <tobias@strongswan.org>
Thu, 15 May 2014 09:28:08 +0000 (11:28 +0200)
commit5ac20cbb8713cea802aa2764704201ae84a0d2d8
tree67bc5419625bb823cdddbce0bf255410d5344b30
parentb98551c74a6a8ee8f713b0d2b47a7c654b13598b
settings: Only purge sections if necessary

Instead of removing and caching all values of a previous config, we only
do this for actually removed sections/settings.
src/libstrongswan/settings/settings.c
src/libstrongswan/settings/settings_types.c
src/libstrongswan/settings/settings_types.h
src/libstrongswan/tests/suites/test_settings.c