summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/mdc2/mdc2dgst.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/mdc2/mdc2dgst.c')
-rw-r--r--src/lib/libcrypto/mdc2/mdc2dgst.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/mdc2/mdc2dgst.c b/src/lib/libcrypto/mdc2/mdc2dgst.c
index 4aa406edc3..b74bb1a759 100644
--- a/src/lib/libcrypto/mdc2/mdc2dgst.c
+++ b/src/lib/libcrypto/mdc2/mdc2dgst.c
@@ -61,6 +61,7 @@
61#include <string.h> 61#include <string.h>
62#include <openssl/des.h> 62#include <openssl/des.h>
63#include <openssl/mdc2.h> 63#include <openssl/mdc2.h>
64#include <openssl/crypto.h>
64 65
65#undef c2l 66#undef c2l
66#define c2l(c,l) (l =((DES_LONG)(*((c)++))) , \ 67#define c2l(c,l) (l =((DES_LONG)(*((c)++))) , \
@@ -75,7 +76,7 @@
75 *((c)++)=(unsigned char)(((l)>>24L)&0xff)) 76 *((c)++)=(unsigned char)(((l)>>24L)&0xff))
76 77
77static void mdc2_body(MDC2_CTX *c, const unsigned char *in, size_t len); 78static void mdc2_body(MDC2_CTX *c, const unsigned char *in, size_t len);
78int MDC2_Init(MDC2_CTX *c) 79fips_md_init(MDC2)
79 { 80 {
80 c->num=0; 81 c->num=0;
81 c->pad_type=1; 82 c->pad_type=1;