| Index: openssl/crypto/ripemd/rmd_dgst.c
|
| ===================================================================
|
| --- openssl/crypto/ripemd/rmd_dgst.c (revision 105093)
|
| +++ openssl/crypto/ripemd/rmd_dgst.c (working copy)
|
| @@ -59,12 +59,7 @@
|
| #include <stdio.h>
|
| #include "rmd_locl.h"
|
| #include <openssl/opensslv.h>
|
| -#include <openssl/err.h>
|
| -#ifdef OPENSSL_FIPS
|
| -#include <openssl/fips.h>
|
| -#endif
|
|
|
| -
|
| const char RMD160_version[]="RIPE-MD160" OPENSSL_VERSION_PTEXT;
|
|
|
| # ifdef RMD160_ASM
|
| @@ -74,16 +69,14 @@
|
| void ripemd160_block(RIPEMD160_CTX *c, unsigned long *p,size_t num);
|
| # endif
|
|
|
| -FIPS_NON_FIPS_MD_Init(RIPEMD160)
|
| +int RIPEMD160_Init(RIPEMD160_CTX *c)
|
| {
|
| + memset (c,0,sizeof(*c));
|
| c->A=RIPEMD160_A;
|
| c->B=RIPEMD160_B;
|
| c->C=RIPEMD160_C;
|
| c->D=RIPEMD160_D;
|
| c->E=RIPEMD160_E;
|
| - c->Nl=0;
|
| - c->Nh=0;
|
| - c->num=0;
|
| return 1;
|
| }
|
|
|
|
|