check on-disk and loaded segment integrity of libstrongswan

This commit is contained in:
Martin Willi
2009-06-22 15:47:17 +02:00
parent d88bcee079
commit 6a8c8815fe
3 changed files with 35 additions and 3 deletions
+1 -2
View File
@@ -132,8 +132,7 @@ bool library_init(char *settings)
"libstrongswan.integrity_test", FALSE))
{
this->public.integrity = integrity_checker_create(CHECKSUM_LIBRARY);
if (!lib->integrity->check_segment(lib->integrity,
"libstrongswan", library_init))
if (!lib->integrity->check(lib->integrity, "libstrongswan", library_init))
{
DBG1("integrity check of libstrongswan failed");
return FALSE;