CLA: trivial
When entering the branch (pbe_nid <= 0), line 66 assigns new values to the variable of line 67 (pbe_nid = NID_id_pbkdf2).
However, it is not used anywhere in the future.
For this reason, lines 66 and 67 were removed.
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27296)
if (wrap_nid <= 0)
wrap_nid = NID_id_alg_PWRI_KEK;
- if (pbe_nid <= 0)
- pbe_nid = NID_id_pbkdf2;
-
/* Get from enveloped data */
if (kekciph == NULL)
kekciph = ec->cipher;