check integrity of libstrongswan

This commit is contained in:
Martin Willi
2009-06-22 15:47:17 +02:00
parent 960e0c1040
commit 059c479a2f
+5
View File
@@ -130,6 +130,11 @@ void library_init(char *settings)
"libstrongswan.integrity_test", FALSE))
{
this->public.integrity = integrity_checker_create();
if (!lib->integrity->check_segment(lib->integrity,
"libstrongswan", library_init))
{
DBG1("integrity check of libstrongswan failed");
}
}
}