Skip to content
Commit 394f7b6f authored by Emilia Kasper's avatar Emilia Kasper
Browse files

RT4002: check for NULL cipher in p12_crpt.c



The NULL cipher case can't actually happen because we have no
EVP_PBE_CTL combinations where cipher_nid is -1 and keygen is
PKCS12_PBE_keyivgen. But make the code more obviously correct.

Reviewed-by: default avatarMatt Caswell <matt@openssl.org>
parent 25d6b340
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment