Simplify EVP_PKEY_up_ref()
authortb <tb@openbsd.org>
Mon, 25 Dec 2023 21:27:03 +0000 (21:27 +0000)
committertb <tb@openbsd.org>
Mon, 25 Dec 2023 21:27:03 +0000 (21:27 +0000)
commit60c2bb4ddeacb3def452bd6bd7e2c2a4b95e53df
tree27f2b40572cce2ce86c8ea1bb927607ff5012b5b
parent7dfcc577e117c768d3f181dea4abefc8e2801e22
Simplify EVP_PKEY_up_ref()

There is no need for a local variable and a ternary operator here.

ok jsing
lib/libcrypto/evp/p_lib.c