From c9099836f080c8bb821264050f5f6d59a1ceddba Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Tue, 9 Dec 2008 00:08:01 +0000 Subject: Add tests for X509 certificates. --- src/p11-tests.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/p11-tests.c') 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 #include +#include +#include + 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(); -- cgit v1.2.3