size_t-fication of message digest APIs. We should size_t-fy more APIs...
[openssl.git] / crypto / evp / m_null.c
index fa3a0301d974e98c86cf6ca2206349e1cd11fd49..cb0721699dba3b3c07ea484b90137bb33a62934f 100644 (file)
@@ -65,7 +65,7 @@
 static int init(EVP_MD_CTX *ctx)
        { return 1; }
 
-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 1; }
 
 static int final(EVP_MD_CTX *ctx,unsigned char *md)
@@ -81,6 +81,7 @@ static const EVP_MD null_md=
        update,
        final,
        NULL,
+       NULL,
        EVP_PKEY_NULL_method,
        0,
        sizeof(EVP_MD *),