library: Return FALSE from library_init() if loaded settings are invalid
authorTobias Brunner <tobias@strongswan.org>
Tue, 11 Sep 2018 15:56:38 +0000 (17:56 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 11 Sep 2018 16:30:18 +0000 (18:30 +0200)
commitf6b4ba2a65c17a7c9c9d334a907b790a9b2cbabd
tree986e5852e6a3da782d522f5bf765365b7c06ebaa
parent71dca60c318b60b7ecbf2466ab4fbfd3fb7b4991
library: Return FALSE from library_init() if loaded settings are invalid

This way daemons won't start with config files that contain errors.
src/libstrongswan/library.c
src/libstrongswan/library.h