projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
607585f
)
It seems like mkdef.pl couldn't quite understand that #ifdef OPENSSL_NO_SHA512
author
Richard Levitte
<levitte@openssl.org>
Tue, 24 May 2005 03:39:10 +0000
(
03:39
+0000)
committer
Richard Levitte
<levitte@openssl.org>
Tue, 24 May 2005 03:39:10 +0000
(
03:39
+0000)
was still active when it came down to the functions. mkdef.pl should really
be corrected, but that'll be another day...
crypto/sha/sha.h
patch
|
blob
|
history
diff --git
a/crypto/sha/sha.h
b/crypto/sha/sha.h
index 867c6615220ada688732279825d16417a3fba2bd..a83bd3cace3d102fd06ef52a000864614e19ec42 100644
(file)
--- 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);