projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PR: 2632
[oweals/openssl.git]
/
crypto
/
sha
/
sha_dgst.c
diff --git
a/crypto/sha/sha_dgst.c
b/crypto/sha/sha_dgst.c
index 1aade357d10104e8a10069455ea5c5cbd0b4f222..fb63b17ff2c3baddd9637814b5a62825f2fff495 100644
(file)
--- a/
crypto/sha/sha_dgst.c
+++ b/
crypto/sha/sha_dgst.c
@@
-56,14
+56,16
@@
* [including the GNU Public Licence.]
*/
* [including the GNU Public Licence.]
*/
-#if !defined(NO_SHA0) && !defined(NO_SHA)
+#include <openssl/crypto.h>
+#include <openssl/opensslconf.h>
+#if !defined(OPENSSL_NO_SHA0) && !defined(OPENSSL_NO_SHA)
#undef SHA_1
#define SHA_0
#include <openssl/opensslv.h>
#undef SHA_1
#define SHA_0
#include <openssl/opensslv.h>
-c
har *SHA_version
="SHA" OPENSSL_VERSION_PTEXT;
+c
onst char SHA_version[]
="SHA" OPENSSL_VERSION_PTEXT;
/* The implementation is in ../md32_common.h */
/* The implementation is in ../md32_common.h */