CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org    2020/09/03 11:29:05

Modified files:
        lib/libcrypto/asn1: x_info.c 

Log message:
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

Reply via email to