library initialization fails if libstrongswan checksum is invalid

This commit is contained in:
Martin Willi
2009-06-22 15:47:17 +02:00
parent 70f59fab9b
commit a0fc89798a
4 changed files with 13 additions and 4 deletions
+4 -1
View File
@@ -265,7 +265,10 @@ int main(int argc, char **argv)
#endif /* CAPABILITIES */
/* initialize library and optionsfrom */
library_init(STRONGSWAN_CONF);
if (!library_init(STRONGSWAN_CONF))
{
abort();
}
options = options_create();
/* handle arguments */