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
/
sha1dgst.c
diff --git
a/crypto/sha/sha1dgst.c
b/crypto/sha/sha1dgst.c
index dc008124e2d5f981b6dbd6557e2e47f1ebf01c43..63c77eab7fc308984d45cfcf9f599d0d7c6cfcc5 100644
(file)
--- a/
crypto/sha/sha1dgst.c
+++ b/
crypto/sha/sha1dgst.c
@@
-56,14
+56,17
@@
* [including the GNU Public Licence.]
*/
* [including the GNU Public Licence.]
*/
-#if !defined(NO_SHA1) && !defined(NO_SHA)
+#include <openssl/crypto.h>
+#include <openssl/opensslconf.h>
+#if !defined(OPENSSL_NO_SHA1) && !defined(OPENSSL_NO_SHA)
#undef SHA_0
#define SHA_1
#include <openssl/opensslv.h>
#undef SHA_0
#define SHA_1
#include <openssl/opensslv.h>
-char *SHA1_version="SHA1" OPENSSL_VERSION_PTEXT;
+__fips_constseg
+const char SHA1_version[]="SHA1" OPENSSL_VERSION_PTEXT;
/* The implementation is in ../md32_common.h */
/* The implementation is in ../md32_common.h */