Pull up zeroing of out; drop unnecessary check
authortb <tb@openbsd.org>
Fri, 28 Jul 2023 09:30:22 +0000 (09:30 +0000)
committertb <tb@openbsd.org>
Fri, 28 Jul 2023 09:30:22 +0000 (09:30 +0000)
commitf65b3322e6f2d4bc182f70121e77d79973d0f97d
tree4aa122faf9dd3621cbe932acdc00d177c6145fb0
parent715babc0464b8b7df2b600602b7c7845048dbcb5
Pull up zeroing of out; drop unnecessary check

Move the zeroing of the output buffer a few lines up and remove an
unnecessary check.

requested/ok jsing
lib/libcrypto/ecdh/ecdh.c