PR: 1990
[oweals/openssl.git] / crypto / sha / sha512.c
index f5ed468b85eb8140c6f3c8c9d85e55ff8b96a5e9..9e91bcad0425df771f490206f0fa521f17c80ae3 100644 (file)
@@ -544,4 +544,13 @@ static void sha512_block_data_order (SHA512_CTX *ctx, const void *in, size_t num
 
 #endif /* SHA512_ASM */
 
+#else /* OPENSSL_NO_SHA512 */
+
+/* Sensitive compilers ("Compaq C V6.4-005 on OpenVMS VAX V7.3", for
+ * example) dislike a statement-free file, complaining:
+ * "%CC-W-EMPTYFILE, Source file does not contain any declarations."
+ */
+
+int sha512_dummy();
+
 #endif /* OPENSSL_NO_SHA512 */