summaryrefslogtreecommitdiff
path: root/lib/libelf/gelf_getsyminfo.3
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2021-02-18 16:23:18 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2021-02-18 16:23:18 +0000
commitbb43b48767169674e9c8d337d5bd582cc9134e58 (patch)
treed090686fe0d27bcdf7ef660b7dcf5cfd829be357 /lib/libelf/gelf_getsyminfo.3
parent57cd8ac2c62e3ce90369ac182e157a4de9a94d1b (diff)
Use X509_get_ext_d2i() also for x509_get_aki() and x509_get_ski().
Now x509_get_extensions() is no longer required to loop over all extensions and the code becomes a lot simpler. While there cleanup x509_get_crl(), as explained by tb@ X509_get_ext_d2i() allocates memory so one needs to free the pointer at the end. For x509_crl_get_aki() use X509_CRL_get_ext_d2i() and more or less copy the rest over from x509_get_aki(). Warn if extensions are missing or present when not expected and also check the the extensions are marked non-critical as required. OK job@ tb@
Diffstat (limited to 'lib/libelf/gelf_getsyminfo.3')
0 files changed, 0 insertions, 0 deletions