summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib
diff options
context:
space:
mode:
authortb <>2020-09-03 17:29:05 +0000
committertb <>2020-09-03 17:29:05 +0000
commit992067d5cd15deed65484ab2fc52daa60bb44f7a (patch)
tree467b799d2c6a5c331b6463884029f4a27fba6ac3 /src/lib/libc/stdlib
parent8324cf873726c94960d258de10aa9deb95117e9c (diff)
downloadopenbsd-992067d5cd15deed65484ab2fc52daa60bb44f7a.tar.gz
openbsd-992067d5cd15deed65484ab2fc52daa60bb44f7a.tar.bz2
openbsd-992067d5cd15deed65484ab2fc52daa60bb44f7a.zip
Clean up asn1/x_info.c
Instead of using malloc(3) and manually setting part of the structure to zero, part to something else and leaving the rest uninitialized, we can benefit from the fact that there's this thing called calloc(3). Moreover, all variants of free(3) in libcrypto are NULL safe. ok beck inoguchi
Diffstat (limited to 'src/lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions