Make integrity tests compatible with libcharon.
[strongswan.git] / src / checksum / checksum_builder.c
index 964cc71..be57f1d 100644 (file)
@@ -78,6 +78,11 @@ int main(int argc, char* argv[])
                        name = strdup("libstrongswan\",");
                        sname = strdup("library_init");
                }
+               else if (strstr(path, "libcharon.so"))
+               {
+                       name = strdup("libcharon\",");
+                       sname = strdup("libcharon_init");
+               }
                else if (strstr(path, "pool"))
                {
                        name = strdup("pool\",");