Don't use a strongswan.conf in checksum_builder, disables checksumming
authorMartin Willi <martin@revosec.ch>
Wed, 25 May 2011 09:06:25 +0000 (11:06 +0200)
committerMartin Willi <martin@revosec.ch>
Wed, 25 May 2011 09:06:25 +0000 (11:06 +0200)
src/checksum/checksum_builder.c

index 94b04c6..3bfff3a 100644 (file)
@@ -135,7 +135,8 @@ int main(int argc, char* argv[])
 
        /* avoid confusing leak reports in build process */
        setenv("LEAK_DETECTIVE_DISABLE", "1", 0);
-       library_init(NULL);
+       /* don't use a strongswan.conf, forces integrity check to disabled */
+       library_init("");
        atexit(library_deinit);
 
        integrity = integrity_checker_create(NULL);