From: Richard Levitte Date: Tue, 24 May 2005 03:39:10 +0000 (+0000) Subject: It seems like mkdef.pl couldn't quite understand that #ifdef OPENSSL_NO_SHA512 X-Git-Tag: OpenSSL_0_9_8-beta2~2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=af4ac437ab4adc577da46c0003402e4852937575;p=oweals%2Fopenssl.git 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... --- 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);