This commit is contained in:
Dr. Stephen Henson 2009-10-02 18:20:22 +00:00
parent fecef70773
commit 77db140f94

View File

@ -96,8 +96,7 @@ unsigned char * PKCS12_pbe_crypt(X509_ALGOR *algor, const char *pass,
PKCS12err(PKCS12_F_PKCS12_PBE_CRYPT,ERR_R_EVP_LIB);
goto err;
}
outlen += i;
outlen = i;
if(!EVP_CipherFinal_ex(&ctx, out + i, &i)) {
OPENSSL_free(out);