Use calloc() to remove the need of silly zeroing of most members.
authortb <tb@openbsd.org>
Fri, 5 Nov 2021 17:08:12 +0000 (17:08 +0000)
committertb <tb@openbsd.org>
Fri, 5 Nov 2021 17:08:12 +0000 (17:08 +0000)
commita047bff13b54e75a340d17d8c5f291ccc445d192
treed37e5c44f216ccb1bda044d299237710c56b9c87
parentc2dc90247e4e296407926e784c7f9ccb624d0416
Use calloc() to remove the need of silly zeroing of most members.
Check for allocation failures and if one happens push an error on
the stack and clean up using X509_STORE_free().

ok jsing
lib/libcrypto/x509/x509_lu.c