Clean up pkey_ec_paramgen()
authortb <tb@openbsd.org>
Thu, 28 Dec 2023 22:12:37 +0000 (22:12 +0000)
committertb <tb@openbsd.org>
Thu, 28 Dec 2023 22:12:37 +0000 (22:12 +0000)
commitb7075e6d1687fa6ae65792ae40dc53904495fc3a
tree47e8cbcae0823b866aca1a30701fc80ecaefc4e4
parent911927408fa51cf15ba193b2a637bc5cefff791b
Clean up pkey_ec_paramgen()

This is basically the same as the dh and dsa version, except it's
different because it's EC. Single exit, uniform error checking.
"Plug" another leak.

With this I earned another shining turd for my collection.

ok jsing
lib/libcrypto/ec/ec_pmeth.c