summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509_constraints.c
diff options
context:
space:
mode:
authortb <>2022-03-03 08:06:57 +0000
committertb <>2022-03-03 08:06:57 +0000
commit62855c8784b772e2e48eb371a15223bb4f7dbb91 (patch)
treef72e864f2411cb013c3b5e480adf8d237e4b1349 /src/lib/libcrypto/x509/x509_constraints.c
parente1b11278a865932b9b7f8f0b46d05df1424c98c6 (diff)
downloadopenbsd-62855c8784b772e2e48eb371a15223bb4f7dbb91.tar.gz
openbsd-62855c8784b772e2e48eb371a15223bb4f7dbb91.tar.bz2
openbsd-62855c8784b772e2e48eb371a15223bb4f7dbb91.zip
Do not write out terminating NUL in i2a_ASN1_OBJECT()
The conversion to CBB made us write out an extra NUL since we no longer use the return value of i2t_ASN1_OBJECT() (which returns strlen(data)) but rather the size of the CBB (which includes a terminal NUL) to write out data. Issue found by anton via an openssl-ruby test failure. ok jsing
Diffstat (limited to 'src/lib/libcrypto/x509/x509_constraints.c')
0 files changed, 0 insertions, 0 deletions