diff --git a/CHANGES b/CHANGES index 0aca9be232..898fb3cecf 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +2030. [bug] We were being overly conservative when disabling + openssl engine support. [RT #16030] + 2029. [bug] host printed out the server multiple times when specified on the command line. [RT #15992] diff --git a/lib/dns/openssl_link.c b/lib/dns/openssl_link.c index a8fbd05261..7179e90a00 100644 --- a/lib/dns/openssl_link.c +++ b/lib/dns/openssl_link.c @@ -18,7 +18,7 @@ /* * Principal Author: Brian Wellington - * $Id: openssl_link.c,v 1.7 2005/09/01 02:24:59 marka Exp $ + * $Id: openssl_link.c,v 1.8 2006/05/23 04:49:19 marka Exp $ */ #ifdef OPENSSL @@ -41,7 +41,7 @@ #include #include -#if defined(CRYPTO_LOCK_ENGINE) && (OPENSSL_VERSION_NUMBER < 0x00907000L) +#if defined(CRYPTO_LOCK_ENGINE) && (OPENSSL_VERSION_NUMBER != 0x00907000L) #define USE_ENGINE 1 #endif @@ -167,7 +167,7 @@ dst__openssl_init() { goto cleanup_rm; } ENGINE_set_RAND(e, rm); - RAND_set_rand_method(e); + RAND_set_rand_method(rm); #else RAND_set_rand_method(rm); #endif