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 81bce0c150146f62ad55a0b395d23b675fdfa7de..fb63b17ff2c3baddd9637814b5a62825f2fff495 100644
(file)
--- a/
crypto/sha/sha_dgst.c
+++ b/
crypto/sha/sha_dgst.c
@@
-56,14
+56,18
@@
* [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>
-char *SHA_version="SHA" OPENSSL_VERSION_PTEXT;
+const char SHA_version[]="SHA" OPENSSL_VERSION_PTEXT;
+
+/* The implementation is in ../md32_common.h */
#include "sha_locl.h"
#include "sha_locl.h"