summaryrefslogtreecommitdiffstats
path: root/crypto/sha
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2009-05-15 16:37:29 +0000
committerRichard Levitte <levitte@openssl.org>2009-05-15 16:37:29 +0000
commit48f48d96ceb5a7e721f53dc09556e52fa45bb145 (patch)
tree518b6002dddbb6aca93d6fa0ce4da0d1d0a1e3b6 /crypto/sha
parent085cb7cac0a3a2ee557754705e997e46471bc4ff (diff)
Functional VMS changes submitted by sms@antinode.info (Steven M. Schweda).
Thank you\! (note: not tested for now, a few nightly builds should give indications though)
Diffstat (limited to 'crypto/sha')
-rw-r--r--crypto/sha/sha512.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/crypto/sha/sha512.c b/crypto/sha/sha512.c
index f5ed468b85..9e91bcad04 100644
--- a/crypto/sha/sha512.c
+++ b/crypto/sha/sha512.c
@@ -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 */