From: Ben Laurie Date: Sun, 2 Nov 2008 09:00:25 +0000 (+0000) Subject: Fix warning. X-Git-Tag: OpenSSL_0_9_8k^2~191 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8da07655ee528126e00e338b48e62be5845918e8;p=oweals%2Fopenssl.git Fix warning. --- diff --git a/crypto/sha/sha512.c b/crypto/sha/sha512.c index 86115d890d..832cae24f1 100644 --- a/crypto/sha/sha512.c +++ b/crypto/sha/sha512.c @@ -632,4 +632,10 @@ static void sha512_block_data_order (SHA512_CTX *ctx, const void *in, size_t num #endif /* SHA512_ASM */ -#endif /* OPENSSL_NO_SHA512 */ +#else /* !OPENSSL_NO_SHA512 */ + +#if defined(PEDANTIC) || defined(__DECC) || defined(OPENSSL_SYS_MACOSX) +static void *dummy=&dummy; +#endif + +#endif /* !OPENSSL_NO_SHA512 */