aboutsummaryrefslogtreecommitdiff
path: root/openssl/crypto/md2
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/crypto/md2')
-rw-r--r--openssl/crypto/md2/md2.h3
-rw-r--r--openssl/crypto/md2/md2_dgst.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/openssl/crypto/md2/md2.h b/openssl/crypto/md2/md2.h
index a46120e7d..d59c9f259 100644
--- a/openssl/crypto/md2/md2.h
+++ b/openssl/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/openssl/crypto/md2/md2_dgst.c b/openssl/crypto/md2/md2_dgst.c
index c57b3da28..bf89def73 100644
--- a/openssl/crypto/md2/md2_dgst.c
+++ b/openssl/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);