diff options
author | jsing <> | 2021-12-03 17:01:07 +0000 |
---|---|---|
committer | jsing <> | 2021-12-03 17:01:07 +0000 |
commit | af38d2832bcd4b2f0397b3f018c3a38fac16d164 (patch) | |
tree | 01b6610001cfb90952051cf5bf66659b81a0f8c0 /src/lib/libcrypto/ocsp/ocsp_srv.c | |
parent | f162875e92493c34bc254b18bbb87884c6da2250 (diff) | |
download | openbsd-af38d2832bcd4b2f0397b3f018c3a38fac16d164.tar.gz openbsd-af38d2832bcd4b2f0397b3f018c3a38fac16d164.tar.bz2 openbsd-af38d2832bcd4b2f0397b3f018c3a38fac16d164.zip |
Convert ASN1_STRING_type_new() to calloc().
Rather than using malloc() and then initialising all struct members, use
calloc() and only initialise the single non-zero value member.
ok schwarze@ tb@
Diffstat (limited to 'src/lib/libcrypto/ocsp/ocsp_srv.c')
0 files changed, 0 insertions, 0 deletions