diff options
author | schwarze <> | 2021-11-03 13:27:28 +0000 |
---|---|---|
committer | schwarze <> | 2021-11-03 13:27:28 +0000 |
commit | 446bdc00d398da1a5df0e490891dfa0f46829289 (patch) | |
tree | af855ce4a8080ed282fb181a0f6314c48d088230 /src/lib/libc | |
parent | 0f3d6b8ae655540ca42e318544e7c368578229fa (diff) | |
download | openbsd-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