Clean up EVP_PBE_CipherInit() a little
authortb <tb@openbsd.org>
Mon, 18 Dec 2023 13:12:43 +0000 (13:12 +0000)
committertb <tb@openbsd.org>
Mon, 18 Dec 2023 13:12:43 +0000 (13:12 +0000)
commitc71a89dbf0a8d5c78b6bf15c2ee52e27ec9a4828
treebd23f1e23a2c1ea7d6b7deb75459b9b3ee7b52a1
parent531d726ab58f7926899b170459479c6680cf2c97
Clean up EVP_PBE_CipherInit() a little

This is mostly stylistic cleanup, making the control flow a bit more
obvious. There's one user-visible change: we no longer go out of our
way to provide info about the unknown algorithm. The nid is enough.

ok joshua jsing
lib/libcrypto/evp/evp_pbe.c