summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/stack/stack.c
diff options
context:
space:
mode:
authortb <>2021-12-28 15:49:11 +0000
committertb <>2021-12-28 15:49:11 +0000
commitc663a0ac3bd396fb1578e66a3027506bc57394e4 (patch)
tree343271e92f66d637510bdf8086d27cdb16719a8e /src/lib/libcrypto/stack/stack.c
parent19abe3564aaf0e3572c3b71bc4f4065e819e371a (diff)
downloadopenbsd-c663a0ac3bd396fb1578e66a3027506bc57394e4.tar.gz
openbsd-c663a0ac3bd396fb1578e66a3027506bc57394e4.tar.bz2
openbsd-c663a0ac3bd396fb1578e66a3027506bc57394e4.zip
Convert X509v3_adr_get_afi() to CBS
The manual byte bashing is performed more safely using this API which would have avoided the out-of-bounds read that this API had until a few years back. The API is somewhat strange in that it uses the reserved AFI 0 as an in-band error but it doesn't care about the reserved AFI 65535. ok inoguchi jsing
Diffstat (limited to 'src/lib/libcrypto/stack/stack.c')
0 files changed, 0 insertions, 0 deletions