bn_unit: appease coverity
authortb <tb@openbsd.org>
Wed, 23 Nov 2022 08:58:34 +0000 (08:58 +0000)
committertb <tb@openbsd.org>
Wed, 23 Nov 2022 08:58:34 +0000 (08:58 +0000)
commit4ed111a22e4101d25528157a72648dad7045a08e
tree42daa4d559b71f86d9e81c1a15b24055969b876f
parenta201dd641c0ccb400edef7e81e23c453d6779580
bn_unit: appease coverity

Apparently, the '0' in memset(a, '0', size - 1); could be a typo for '\0'.
Randomize the decimal digit to make the intent clear.

CID 377009
regress/lib/libcrypto/bn/general/bn_unit.c