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