Streamline X509_REQ_check_private_key() a bit
authortb <tb@openbsd.org>
Thu, 9 May 2024 14:27:21 +0000 (14:27 +0000)
committertb <tb@openbsd.org>
Thu, 9 May 2024 14:27:21 +0000 (14:27 +0000)
commitcff692b35dc0ab18f9757fecda61a5395357450d
tree70cd3a825704e3f0419157e5eb5048058f093879
parent9d58ae9c66ae186971e739899946ea114a5be01f
Streamline X509_REQ_check_private_key() a bit

Use better variable names, split the success from the error path and
return directly rather than using an ok variable.

ok jsing
lib/libcrypto/x509/x509_req.c