From fcc3a83cc4d540bc2c4096524b5e8003046ba561 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Tue, 2 Apr 2013 20:40:53 +0200 Subject: Separate library init from message code Put library init/uninit code its into their own statically linked library so that they don't get linked into the p11-kit executable. Refactor the message code so that the library initialization can plug in its per thread message buffer. https://bugs.freedesktop.org/show_bug.cgi?id=63046 --- trust/tests/test-persist.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'trust/tests/test-persist.c') diff --git a/trust/tests/test-persist.c b/trust/tests/test-persist.c index b9a79e9..ee73331 100644 --- a/trust/tests/test-persist.c +++ b/trust/tests/test-persist.c @@ -43,7 +43,7 @@ #include "attrs.h" #include "compat.h" #include "debug.h" -#include "library.h" +#include "message.h" #include "persist.h" #include "pkcs11.h" #include "pkcs11x.h" @@ -441,7 +441,6 @@ main (void) putenv ("P11_KIT_STRICT=1"); p11_debug_init (); - p11_library_init (); SUITE_ADD_TEST (suite, test_magic); SUITE_ADD_TEST (suite, test_simple); -- cgit v1.1