Convert ASN1_PCTX_new() to calloc().
authorjsing <jsing@openbsd.org>
Fri, 3 Dec 2021 17:10:49 +0000 (17:10 +0000)
committerjsing <jsing@openbsd.org>
Fri, 3 Dec 2021 17:10:49 +0000 (17:10 +0000)
commitba6cd9e8581f5ac0f9c00690c35e19b31d40cfee
tree01a17fe0c3194de582a1816b753007c4fec51650
parent2f714b13d66c1308f4da41a345f2f44962ec996c
Convert ASN1_PCTX_new() to calloc().

Rather than using malloc() and then initialising all struct members to zero
values, use calloc().

ok schwarze@ tb@
lib/libcrypto/asn1/tasn_prn.c