diff options
Diffstat (limited to 'crypto/md2')
-rw-r--r-- | crypto/md2/md2.h | 3 | ||||
-rw-r--r-- | crypto/md2/md2_dgst.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/crypto/md2/md2.h b/crypto/md2/md2.h index a46120e7d4..d59c9f2593 100644 --- a/crypto/md2/md2.h +++ b/crypto/md2/md2.h @@ -81,6 +81,9 @@ typedef struct MD2state_st } MD2_CTX; const char *MD2_options(void); +#ifdef OPENSSL_FIPS +int private_MD2_Init(MD2_CTX *c); +#endif int MD2_Init(MD2_CTX *c); int MD2_Update(MD2_CTX *c, const unsigned char *data, size_t len); int MD2_Final(unsigned char *md, MD2_CTX *c); diff --git a/crypto/md2/md2_dgst.c b/crypto/md2/md2_dgst.c index c57b3da288..bf89def73e 100644 --- a/crypto/md2/md2_dgst.c +++ b/crypto/md2/md2_dgst.c @@ -116,7 +116,7 @@ const char *MD2_options(void) return("md2(int)"); } -int MD2_Init(MD2_CTX *c) +fips_md_init(MD2) { c->num=0; memset(c->state,0,sizeof c->state); |