Make sha.h more "portable."
This commit is contained in:
@@ -60,6 +60,7 @@
|
|||||||
#define HEADER_SHA_H
|
#define HEADER_SHA_H
|
||||||
|
|
||||||
#include <openssl/e_os2.h>
|
#include <openssl/e_os2.h>
|
||||||
|
#include <stddef.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
@@ -98,7 +99,7 @@ extern "C" {
|
|||||||
|
|
||||||
typedef struct SHAstate_st
|
typedef struct SHAstate_st
|
||||||
{
|
{
|
||||||
SHA_LONG h0,h1,h2,h3,h4;
|
SHA_LONG h[5];
|
||||||
SHA_LONG Nl,Nh;
|
SHA_LONG Nl,Nh;
|
||||||
SHA_LONG data[SHA_LBLOCK];
|
SHA_LONG data[SHA_LBLOCK];
|
||||||
unsigned int num;
|
unsigned int num;
|
||||||
|
|||||||
Reference in New Issue
Block a user