Skip to content
Commit bae16c98 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>
(cherry picked from commit 394f7b6f)
parent 9d4798a9
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