Turn ecdh_cms_encrypt() into single exit
authortb <tb@openbsd.org>
Wed, 17 Apr 2024 13:49:18 +0000 (13:49 +0000)
committertb <tb@openbsd.org>
Wed, 17 Apr 2024 13:49:18 +0000 (13:49 +0000)
commit8282b27eab848cfa90996517156dd48531610a7d
tree97907687dcfe6b8d873ae632dc545a7437a66be7
parent4056bf7d77ac5ea11baf4530b77738fd053f0b32
Turn ecdh_cms_encrypt() into single exit

Also use ret instead of rv.

ok jsing
lib/libcrypto/ec/ec_ameth.c