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 --- common/tests/test-base64.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'common/tests/test-base64.c') diff --git a/common/tests/test-base64.c b/common/tests/test-base64.c index c053305..90c1f49 100644 --- a/common/tests/test-base64.c +++ b/common/tests/test-base64.c @@ -36,7 +36,8 @@ #include "CuTest.h" #include "base64.h" -#include "library.h" +#include "debug.h" +#include "message.h" #include #include @@ -196,7 +197,7 @@ main (void) int ret; putenv ("P11_KIT_STRICT=1"); - p11_library_init (); + p11_debug_init (); SUITE_ADD_TEST (suite, test_decode_simple); SUITE_ADD_TEST (suite, test_decode_thawte); -- cgit v1.1