aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2005-05-24 03:39:08 +0000
committerRichard Levitte <levitte@openssl.org>2005-05-24 03:39:08 +0000
commit85991994dfb111a8501b6e722b707348edd02b99 (patch)
treeb9556b9d1eb7e965a1c84c78299a84a68a5a7204
parentb325518f4588728c38d53586b0cfcdd235db6e34 (diff)
downloadopenssl-85991994dfb111a8501b6e722b707348edd02b99.tar.gz
It seems like mkdef.pl couldn't quite understand that #ifdef OPENSSL_NO_SHA512
was still active when it came down to the functions. mkdef.pl should really be corrected, but that'll be another day...
-rw-r--r--crypto/sha/sha.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/sha/sha.h b/crypto/sha/sha.h
index 867c661522..a83bd3cace 100644
--- a/crypto/sha/sha.h
+++ b/crypto/sha/sha.h
@@ -178,7 +178,9 @@ typedef struct SHA512state_st
} u;
unsigned int num,md_len;
} SHA512_CTX;
+#endif
+#ifndef OPENSSL_NO_SHA512
int SHA384_Init(SHA512_CTX *c);
int SHA384_Update(SHA512_CTX *c, const void *data, size_t len);
int SHA384_Final(unsigned char *md, SHA512_CTX *c);