Fix warning.
authorBen Laurie <ben@openssl.org>
Sun, 2 Nov 2008 09:00:25 +0000 (09:00 +0000)
committerBen Laurie <ben@openssl.org>
Sun, 2 Nov 2008 09:00:25 +0000 (09:00 +0000)
crypto/sha/sha512.c

index 86115d8..832cae2 100644 (file)
@@ -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 */