Rework simple allocation and free functions in x509_policy.c
authortb <tb@openbsd.org>
Thu, 27 Apr 2023 08:04:40 +0000 (08:04 +0000)
committertb <tb@openbsd.org>
Thu, 27 Apr 2023 08:04:40 +0000 (08:04 +0000)
commit5583d2a5ad67e937288977858736eb5c8e33255a
treea952e04f58e0f7951f1d527b44ac63d60a3bbd18
parent157977775d3da1676dee68ee31698a081f6d1abd
Rework simple allocation and free functions in x509_policy.c

Use calloc() instead of malloc/memset and make free functions look the
same as elsewhere in the tree.

ok beck jsing
lib/libcrypto/x509/x509_policy.c