From 508ca62a6c9deb20603a8b2678bd5db35c4e6de1 Mon Sep 17 00:00:00 2001 From: akr Date: Mon, 22 Feb 2010 12:36:11 +0000 Subject: * ext/digest/sha2/sha2init.c: test OpenSSL more strictly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/digest/sha2/sha2init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/digest') diff --git a/ext/digest/sha2/sha2init.c b/ext/digest/sha2/sha2init.c index fca33185d8..25ef6d2546 100644 --- a/ext/digest/sha2/sha2init.c +++ b/ext/digest/sha2/sha2init.c @@ -2,7 +2,7 @@ /* $Id$ */ #include "digest.h" -#if defined(HAVE_OPENSSL_SHA_H) +#if defined(HAVE_OPENSSL_SHA_H) && defined(HAVE_SHA256_TRANSFORM) && defined(HAVE_SHA512_TRANSFORM) #include "sha2ossl.h" #else #include "sha2.h" -- cgit v1.2.3