Nitpick error checks of BN_get_mem_data()
authortb <tb@openbsd.org>
Thu, 2 Mar 2023 21:07:21 +0000 (21:07 +0000)
committertb <tb@openbsd.org>
Thu, 2 Mar 2023 21:07:21 +0000 (21:07 +0000)
commit167f52f37e8a61d3c556e6fb46e67095d7f2194f
tree366bbf76bf6048bf2e657fd79ed296642090154e
parent699253ff46345d5df02923a2420091dc3790f7e6
Nitpick error checks of BN_get_mem_data()

BN_get_mem_data() returns a non-positive long on error, so assigning
it to a size_t and displaying that in error messages is incorrect.
regress/lib/libcrypto/cms/cmstest.c