Make integrity tests compatible with libcharon.

This does currently not work because libtool relinks libcharon on
install, thus changing the checksum.
This commit is contained in:
Tobias Brunner
2010-03-19 13:34:53 +01:00
parent 349fa52852
commit 02222dfa65
2 changed files with 7 additions and 1 deletions
+2 -1
View File
@@ -12,10 +12,11 @@ CLEANFILES = checksum.c
INCLUDES = -I$(top_srcdir)/src/libstrongswan
AM_CFLAGS = -rdynamic
libs = $(shell find $(top_builddir)/src/libstrongswan $(top_builddir)/src/charon \
libs = $(shell find $(top_builddir)/src/libstrongswan $(top_builddir)/src/libcharon \
-name 'libstrongswan*.so')
if USE_CHARON
libs += $(top_builddir)/src/libcharon/.libs/libcharon.so
libs += $(top_builddir)/src/charon/.libs/charon
endif
+5
View 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\",");