OPENSSL_ia32cap final touches. Note that OPENSSL_ia32cap is no longer a
[openssl.git] / crypto / evp / m_md2.c
index 38ce7f8cd71f46feee2367d507f68633ed711bdb..1eae4ed38cb4e9d4dcefe63f87fed2f48d727520 100644 (file)
 #include <openssl/objects.h>
 #include <openssl/x509.h>
 #include <openssl/md2.h>
+#include <openssl/rsa.h>
 
 static int init(EVP_MD_CTX *ctx)
        { return MD2_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 MD2_Update(ctx->md_data,data,count); }
 
 static int final(EVP_MD_CTX *ctx,unsigned char *md)