projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New Configure option no-<cipher> (rsa, idea, rc5, ...).
[openssl.git]
/
crypto
/
sha
/
sha_one.c
diff --git
a/crypto/sha/sha_one.c
b/crypto/sha/sha_one.c
index 3e2751ec8482681acdf7556dbbe1d734443cbe15..6ef3f06a37948d8d4bbb0864150adc9b004d218f 100644
(file)
--- a/
crypto/sha/sha_one.c
+++ b/
crypto/sha/sha_one.c
@@
-58,8
+58,9
@@
#include <stdio.h>
#include <string.h>
-#include
"sha.h"
+#include
<openssl/sha.h>
+#ifndef NO_SHA0
unsigned char *SHA(unsigned char *d, unsigned long n, unsigned char *md)
{
SHA_CTX c;
@@
-72,3
+73,4
@@
unsigned char *SHA(unsigned char *d, unsigned long n, unsigned char *md)
memset(&c,0,sizeof(c));
return(md);
}
+#endif