Fix return check of bn_hex2bn_cbs()
authortb <tb@openbsd.org>
Fri, 23 Jun 2023 10:33:12 +0000 (10:33 +0000)
committertb <tb@openbsd.org>
Fri, 23 Jun 2023 10:33:12 +0000 (10:33 +0000)
commit539244803cc2fc25aa3c29113a160e7769575ea6
tree3c19eb601ee34f5ac6abfa78b8cafc69348b279b
parent3145afc780109c6a286de01bf018655ffffc53e2
Fix return check of bn_hex2bn_cbs()

It returns a length, not a Boolean, so check for 0 explicitly. This is
purely cosmetic.

ok jsing
lib/libcrypto/bn/bn_convert.c