size_t-fication of message digest APIs. We should size_t-fy more APIs...
[oweals/openssl.git] / crypto / evp / m_md4.c
index a3f6be4f3b72283de6a9c09d10ee8261aa7542d5..0fb84b6d1ec2e7bda42e3f970b4fdfd98a9a1d55 100644 (file)
 #include <openssl/objects.h>
 #include <openssl/x509.h>
 #include <openssl/md4.h>
+#include <openssl/rsa.h>
 
 static int init(EVP_MD_CTX *ctx)
        { return MD4_Init(ctx->md_data); }
 
-static int update(EVP_MD_CTX *ctx,const void *data,unsigned long count)
+static int update(EVP_MD_CTX *ctx,const void *data,size_t count)
        { return MD4_Update(ctx->md_data,data,count); }
 
 static int final(EVP_MD_CTX *ctx,unsigned char *md)