Delete MD2 from algorithm tables as in 0.9.8-stable. However since this is
[openssl.git] / crypto / evp / evp_key.c
index 898ff6f1e597040453c43eda7d41ebb2b044899d..361ea69ab6d5fd685ca98dfb0f94de238988a9af 100644 (file)
@@ -108,7 +108,7 @@ int EVP_read_pw_string(char *buf, int len, const char *prompt, int verify)
        }
 
 int EVP_BytesToKey(const EVP_CIPHER *type, const EVP_MD *md, 
-            const unsigned char *salt, const unsigned char *data, size_t datal,
+            const unsigned char *salt, const unsigned char *data, int datal,
             int count, unsigned char *key, unsigned char *iv)
        {
        EVP_MD_CTX c;