summaryrefslogtreecommitdiff
path: root/src/lib/libc
diff options
context:
space:
mode:
authorschwarze <>2021-11-03 12:53:25 +0000
committerschwarze <>2021-11-03 12:53:25 +0000
commitddc0ed504e881d30d4c140ae756f549f24d696da (patch)
tree9ed5cc149555082f1d5267d6caee226499c3178b /src/lib/libc
parent76e9f577da320593c54eb46e4ae17bbf74fec42b (diff)
downloadopenbsd-ddc0ed504e881d30d4c140ae756f549f24d696da.tar.gz
openbsd-ddc0ed504e881d30d4c140ae756f549f24d696da.tar.bz2
openbsd-ddc0ed504e881d30d4c140ae756f549f24d696da.zip
Fix two bugs in X509_REQ_add_extensions_nid(3)
that i noticed while documneting the function: * missing return value check for ASN1_item_i2d(3) and * missing return value check for OBJ_nid2obj(3). In the function X509_REQ_add_extensions_nid(3), merge everything that is worth merging from the OpenSSL 1.1.1 branch, which is still under a free license; that's mostly parts of the commit 9b0a4531 Mar 14 23:48:47 2015 +0000 (containing the bugfix, even though the OpenSSL commit message did not mention the bugs) and some minor stylistic changes from 0f113f3e and 26a7d938. While here, use i2d_X509_EXTENSIONS(3) instead of the layer-violating call to ASN1_item_i2d(3), and include a few stylistic tweaks from tb@. OK tb@, and jsing@ agreed on the general direction.
Diffstat (limited to 'src/lib/libc')
0 files changed, 0 insertions, 0 deletions