summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509v3/ext_dat.h
diff options
context:
space:
mode:
authorbeck <>2014-04-20 23:30:12 +0000
committerbeck <>2014-04-20 23:30:12 +0000
commitbc525229ef681d7e80fb71a2257c6741bbf31ca6 (patch)
treefe5d877da3343761189de81dac659353acf6cbfd /src/lib/libcrypto/x509v3/ext_dat.h
parent42f6c374f5a555d55cd15e16951602d724fce370 (diff)
downloadopenbsd-bc525229ef681d7e80fb71a2257c6741bbf31ca6.tar.gz
openbsd-bc525229ef681d7e80fb71a2257c6741bbf31ca6.tar.bz2
openbsd-bc525229ef681d7e80fb71a2257c6741bbf31ca6.zip
ASN1_STRING cleanup - realloc has handled NULL since I had a mullet
and parachute pants - and since it's obvious there is no guarantee the caller doesn't pass in the data area in the argument, use memmove instead of memcpy so overlapping areas are handled correctly. Also, pointers can be usefully printed in hex with %p, in error messaeges rather than the bizzaro stuff that was there using mystical buffer lengths and abuse of strlcpy-converted-blindly-from-strcpy
Diffstat (limited to 'src/lib/libcrypto/x509v3/ext_dat.h')
0 files changed, 0 insertions, 0 deletions