diff options
author | Stef Walter <stefw@gnome.org> | 2013-04-02 20:40:53 +0200 |
---|---|---|
committer | Stef Walter <stefw@gnome.org> | 2013-04-03 10:39:09 +0200 |
commit | fcc3a83cc4d540bc2c4096524b5e8003046ba561 (patch) | |
tree | 5bc566d6813448f83269797ce05aadeb02cdf36f /trust/tests/test-token.c | |
parent | ae7dd1be6d431f25b101bc7e2b3fa373a8cbb47b (diff) |
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
Diffstat (limited to 'trust/tests/test-token.c')
-rw-r--r-- | trust/tests/test-token.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/trust/tests/test-token.c b/trust/tests/test-token.c index 6cf687b..ffd733f 100644 --- a/trust/tests/test-token.c +++ b/trust/tests/test-token.c @@ -42,7 +42,7 @@ #include "attrs.h" #include "debug.h" #include "pkcs11x.h" -#include "library.h" +#include "message.h" #include "test-data.h" #include "token.h" @@ -235,7 +235,6 @@ main (void) int ret; putenv ("P11_KIT_STRICT=1"); - p11_library_init (); p11_debug_init (); SUITE_ADD_TEST (suite, test_token_load); |