summaryrefslogtreecommitdiffstats
path: root/crypto/sha/sha.h
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2006-12-22 15:42:06 +0000
committerAndy Polyakov <appro@openssl.org>2006-12-22 15:42:06 +0000
commitf946dd7198f66d48ae178023f107bf99c399b78d (patch)
tree808e0059697fb6347251f41de297c08aad293f61 /crypto/sha/sha.h
parent1702c8c4bf4eff4e64b88ea33f0bd9f30b953d20 (diff)
Make sha.h more "portable."
Diffstat (limited to 'crypto/sha/sha.h')
-rw-r--r--crypto/sha/sha.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/sha/sha.h b/crypto/sha/sha.h
index b7773d6c21..5a023d52b9 100644
--- a/crypto/sha/sha.h
+++ b/crypto/sha/sha.h
@@ -60,6 +60,7 @@
#define HEADER_SHA_H
#include <openssl/e_os2.h>
+#include <stddef.h>
#ifdef __cplusplus
extern "C" {
@@ -98,7 +99,7 @@ extern "C" {
typedef struct SHAstate_st
{
- SHA_LONG h0,h1,h2,h3,h4;
+ SHA_LONG h[5];
SHA_LONG Nl,Nh;
SHA_LONG data[SHA_LBLOCK];
unsigned int num;