]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[crypto] Allow passing a NULL certificate store to x509_find() et al
authorMichael Brown <mcb30@ipxe.org>
Tue, 13 Aug 2024 11:25:25 +0000 (12:25 +0100)
committerMichael Brown <mcb30@ipxe.org>
Tue, 13 Aug 2024 11:26:31 +0000 (12:26 +0100)
commit96fb7a0a9395cec423a58069e1b49535e8ceceef
treeb38ef6bbeb7f8eb938829864f4bd72c2c2b8078a
parentd85590b6584499569c19f7ee4a1e0c10d5132f70
[crypto] Allow passing a NULL certificate store to x509_find() et al

Allow passing a NULL value for the certificate list to all functions
used for identifying an X.509 certificate from an existing set of
certificates, and rename function parameters to indicate that this
certificate list represents an unordered certificate store (rather
than an ordered certificate chain).

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/crypto/certstore.c
src/crypto/x509.c
src/include/ipxe/x509.h
src/net/tls.c