Index: openssl/crypto/md4/md4_dgst.c |
=================================================================== |
--- openssl/crypto/md4/md4_dgst.c (revision 105093) |
+++ openssl/crypto/md4/md4_dgst.c (working copy) |
@@ -59,12 +59,7 @@ |
#include <stdio.h> |
#include "md4_locl.h" |
#include <openssl/opensslv.h> |
-#include <openssl/err.h> |
-#ifdef OPENSSL_FIPS |
-#include <openssl/fips.h> |
-#endif |
- |
const char MD4_version[]="MD4" OPENSSL_VERSION_PTEXT; |
/* Implemented from RFC1186 The MD4 Message-Digest Algorithm |
@@ -75,15 +70,13 @@ |
#define INIT_DATA_C (unsigned long)0x98badcfeL |
#define INIT_DATA_D (unsigned long)0x10325476L |
-FIPS_NON_FIPS_MD_Init(MD4) |
+int MD4_Init(MD4_CTX *c) |
{ |
+ memset (c,0,sizeof(*c)); |
c->A=INIT_DATA_A; |
c->B=INIT_DATA_B; |
c->C=INIT_DATA_C; |
c->D=INIT_DATA_D; |
- c->Nl=0; |
- c->Nh=0; |
- c->num=0; |
return 1; |
} |