summaryrefslogtreecommitdiff
path: root/tests/pin-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pin-test.c')
-rw-r--r--tests/pin-test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/pin-test.c b/tests/pin-test.c
index 0117908..f4cfd8d 100644
--- a/tests/pin-test.c
+++ b/tests/pin-test.c
@@ -42,6 +42,7 @@
#include <string.h>
#include "p11-kit/pin.h"
+#include "p11-kit/private.h"
static P11KitPin *
callback_one (const char *pin_source, P11KitUri *pin_uri, const char *pin_description,
@@ -274,6 +275,8 @@ main (void)
CuSuite* suite = CuSuiteNew ();
int ret;
+ _p11_library_init ();
+
SUITE_ADD_TEST (suite, test_pin_register_unregister);
SUITE_ADD_TEST (suite, test_pin_read);
SUITE_ADD_TEST (suite, test_pin_read_no_match);