summaryrefslogtreecommitdiffstats
path: root/crypto/sha/sha512.c
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2008-11-02 09:00:25 +0000
committerBen Laurie <ben@openssl.org>2008-11-02 09:00:25 +0000
commit8da07655ee528126e00e338b48e62be5845918e8 (patch)
tree59eb4c31c70d6072a02a5a2a640e535933177da4 /crypto/sha/sha512.c
parentbefe1fbc29e1c03058278f7022553378267c184d (diff)
Fix warning.
Diffstat (limited to 'crypto/sha/sha512.c')
-rw-r--r--crypto/sha/sha512.c8
1 files changed, 7 insertions, 1 deletions
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 */