summaryrefslogtreecommitdiff
path: root/src/p11-tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/p11-tests.c')
-rw-r--r--src/p11-tests.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/p11-tests.c b/src/p11-tests.c
index 0e7975c..e4e4110 100644
--- a/src/p11-tests.c
+++ b/src/p11-tests.c
@@ -6,6 +6,9 @@
#include <stdio.h>
#include <stdlib.h>
+#include <openssl/err.h>
+#include <openssl/evp.h>
+
int p11t_test_unexpected = 1;
static void
@@ -50,6 +53,9 @@ main(int argc, char* argv[])
if(config)
p11t_config_parse(config);
+ ERR_load_crypto_strings();
+ OpenSSL_add_all_digests();
+
/* Basic module tests */
p11t_module_load(argv[0]);
p11t_module_initialize();
@@ -58,6 +64,7 @@ main(int argc, char* argv[])
p11t_session_tests();
p11t_object_tests();
p11t_rsa_tests();
+ p11t_certificate_tests();
/* Remaining module tests */
p11t_module_finalize();