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
+3 -1
View File
@@ -86,7 +86,7 @@ void library_deinit()
/*
* see header file
*/
void library_init(char *settings)
bool library_init(char *settings)
{
printf_hook_t *pfh;
private_library_t *this = malloc_thing(private_library_t);
@@ -136,7 +136,9 @@ void library_init(char *settings)
"libstrongswan", library_init))
{
DBG1("integrity check of libstrongswan failed");
return FALSE;
}
}
return TRUE;
}