Rewrite PKCS#12 code and remove some of the old
[openssl.git] / apps / pkcs8.c
index bd1697a325bcd7b78d2b2274e1fb42ec2fa3a085..3633590874f2fb367093b012464459313cdc0f19 100644 (file)
@@ -325,7 +325,7 @@ int MAIN(int argc, char **argv)
                        p8pass = pass;
                        EVP_read_pw_string(pass, 50, "Enter Password:", 0);
                }
-               p8inf = M_PKCS8_decrypt(p8, p8pass, strlen(p8pass));
+               p8inf = PKCS8_decrypt(p8, p8pass, strlen(p8pass));
                X509_SIG_free(p8);
        }