projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make the change to strong keys in the string to key(s) functions experimental in...
[oweals/openssl.git]
/
crypto
/
sha
/
sha1_one.c
diff --git
a/crypto/sha/sha1_one.c
b/crypto/sha/sha1_one.c
index b5a93d96e1bb0469872c9d401624168ec673c6b9..e6a24888ed5949675cf49da35ae0b7309281042a 100644
(file)
--- a/
crypto/sha/sha1_one.c
+++ b/
crypto/sha/sha1_one.c
@@
-60,7
+60,8
@@
#include <string.h>
#include <openssl/sha.h>
#include <string.h>
#include <openssl/sha.h>
-unsigned char *SHA1(unsigned char *d, unsigned long n, unsigned char *md)
+#ifndef OPENSSL_NO_SHA1
+unsigned char *SHA1(const unsigned char *d, unsigned long n, unsigned char *md)
{
SHA_CTX c;
static unsigned char m[SHA_DIGEST_LENGTH];
{
SHA_CTX c;
static unsigned char m[SHA_DIGEST_LENGTH];
@@
-72,3
+73,4
@@
unsigned char *SHA1(unsigned char *d, unsigned long n, unsigned char *md)
memset(&c,0,sizeof(c));
return(md);
}
memset(&c,0,sizeof(c));
return(md);
}
+#endif