summaryrefslogtreecommitdiff
path: root/src/p11-tests.c
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2008-12-09 00:08:01 +0000
committerStef Walter <stef@memberwebs.com>2008-12-09 00:08:01 +0000
commitc9099836f080c8bb821264050f5f6d59a1ceddba (patch)
tree956a3eabfebafb441ce21895227aa969e935c0c1 /src/p11-tests.c
parent3f036e4311b4742017f8e3cf802a1b80944a2b59 (diff)
Add tests for X509 certificates.
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();