+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]
/*
* Principal Author: Brian Wellington
- * $Id: openssl_link.c,v 1.1.6.7 2005/09/01 03:04:28 marka Exp $
+ * $Id: openssl_link.c,v 1.1.6.8 2006/05/23 04:50:52 marka Exp $
*/
#ifdef OPENSSL
#include <openssl/conf.h>
#include <openssl/crypto.h>
-#if defined(CRYPTO_LOCK_ENGINE) && (OPENSSL_VERSION_NUMBER < 0x00907000L)
+#if defined(CRYPTO_LOCK_ENGINE) && (OPENSSL_VERSION_NUMBER != 0x00907000L)
#define USE_ENGINE 1
#endif
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