From 2527594a5c885e6c5d1adafb82eac82f4a25cf8b Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Tue, 1 Jun 2010 17:17:21 -0700 Subject: [PATCH] If build with libcrypto, load the openssl engine --- lib/hcrypto/test_rsa.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/hcrypto/test_rsa.c b/lib/hcrypto/test_rsa.c index f86bf05e3..aa89d71bc 100644 --- a/lib/hcrypto/test_rsa.c +++ b/lib/hcrypto/test_rsa.c @@ -211,6 +211,9 @@ main(int argc, char **argv) argv += idx; OpenSSL_add_all_algorithms(); +#ifdef OPENSSL + ENGINE_load_openssl(); +#endif ENGINE_load_builtin_engines(); if (argc == 0) {