EVP_DecryptInit() should call EVP_CipherInit() not EVP_CipherInit_ex().
[openssl.git] / crypto / evp / m_md4.c
index 11458ee1cd4d77b366d01ea0ed91aebaad1bd0ba..e19b6637546c019e87c4c3778e7f8ecc2f13b0f0 100644 (file)
@@ -76,13 +76,14 @@ static int final(EVP_MD_CTX *ctx,unsigned char *md)
 static const EVP_MD md4_md=
        {
        NID_md4,
-       0,
+       NID_md4WithRSAEncryption,
        MD4_DIGEST_LENGTH,
        0,
        init,
        update,
        final,
        NULL,
+       NULL,
        EVP_PKEY_RSA_method,
        MD4_CBLOCK,
        sizeof(EVP_MD *)+sizeof(MD4_CTX),