Fix WIN32 build by disabling bn* calls.
[openssl.git] / crypto / mdc2 / mdc2dgst.c
index aa9ba0ee6bd982cb4436d4f1c80e34d2cf2a2204..302f9ab9a890088753d92952796a4977a5e539a1 100644 (file)
@@ -59,6 +59,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <openssl/crypto.h>
 #include <openssl/des.h>
 #include <openssl/mdc2.h>
 
@@ -160,7 +161,8 @@ static void mdc2_body(MDC2_CTX *c, const unsigned char *in, size_t len)
 
 int MDC2_Final(unsigned char *md, MDC2_CTX *c)
        {
-       int i,j;
+       unsigned int i;
+       int j;
 
        i=c->num;
        j=c->pad_type;