From: Tom Kistner Date: Fri, 16 Oct 2009 13:10:34 +0000 (+0000) Subject: Correct OPENSSL_VERSION_NUMBER #ifdef X-Git-Tag: exim-4_70_RC3~29 X-Git-Url: https://git.exim.org/users/heiko/exim.git/commitdiff_plain/4e5127ab962d0091a9c3d40306b6a6c3800734f2 Correct OPENSSL_VERSION_NUMBER #ifdef --- diff --git a/src/src/tls-openssl.c b/src/src/tls-openssl.c index dc20a6e3f..be06eaffb 100644 --- a/src/src/tls-openssl.c +++ b/src/src/tls-openssl.c @@ -1,4 +1,4 @@ -/* $Cambridge: exim/src/src/tls-openssl.c,v 1.18 2009/10/16 11:38:01 tom Exp $ */ +/* $Cambridge: exim/src/src/tls-openssl.c,v 1.19 2009/10/16 13:10:34 tom Exp $ */ /************************************************* * Exim - an Internet mail transport agent * @@ -305,7 +305,7 @@ tls_init(host_item *host, uschar *dhparam, uschar *certificate, SSL_load_error_strings(); /* basic set up */ OpenSSL_add_ssl_algorithms(); -#if OPENSSL_VERSION_NUMBER >= 0x00908000L +#if OPENSSL_VERSION_NUMBER > 0x0090800fL /* SHA256 is becoming ever moar popular. This makes sure it gets added to the list of available digests. */ EVP_add_digest(EVP_sha256());