build and verify on disk file integrity of pluto and charon executables
This commit is contained in:
1 parent
da2834a280
commit
4f2c48cd3d
4 files changed
+43
-14
No files matched your search
@@ -264,6 +264,13 @@ int main(int argc, char **argv)
|
||||
{
|
||||
abort();
|
||||
}
|
||||
if (lib->integrity &&
|
||||
!lib->integrity->check_file(lib->integrity, "pluto", argv[0]))
|
||||
{
|
||||
fprintf(stderr, "integrity check of pluto failed\n");
|
||||
library_deinit();
|
||||
abort();
|
||||
}
|
||||
options = options_create();
|
||||
|
||||
/* handle arguments */
|
||||
|
||||
Reference in new issue
Block a user