summaryrefslogtreecommitdiff
path: root/src/lib/libc
diff options
context:
space:
mode:
authorschwarze <>2021-11-03 13:27:28 +0000
committerschwarze <>2021-11-03 13:27:28 +0000
commit446bdc00d398da1a5df0e490891dfa0f46829289 (patch)
treeaf855ce4a8080ed282fb181a0f6314c48d088230 /src/lib/libc
parent0f3d6b8ae655540ca42e318544e7c368578229fa (diff)
downloadopenbsd-446bdc00d398da1a5df0e490891dfa0f46829289.tar.gz
openbsd-446bdc00d398da1a5df0e490891dfa0f46829289.tar.bz2
openbsd-446bdc00d398da1a5df0e490891dfa0f46829289.zip
Some cleanup in X509_REQ_get_extensions(3), no functional change.
In this function, merge everything that is worth merging from the OpenSSL 1.1.1 branch, which is still under a free license, mostly the relevant part of commit 9b0a4531 Mar 14 23:48:47 2015 +0000 to use X509_ATTRIBUTE_get0_type(3) rather than re-implementing it. While here, * use d2i_X509_EXTENSIONS(3) rather than ASN1_item_d2i(3); * test pointers explicitly against NULL, not with '!', as suggested by tb@; * drop some useless parentheses as suggested by tb@. OK tb@
Diffstat (limited to 'src/lib/libc')
0 files changed, 0 insertions, 0 deletions