mirror of
https://github.com/ipxe/ipxe
synced 2025-12-17 18:11:49 +03:00
[crypto] Add previous certificate in chain as a parameter to parse_next()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -695,10 +695,14 @@ struct x509_test_chain_context {
|
||||
* Parse next certificate in chain
|
||||
*
|
||||
* @v cert X.509 certificate to parse
|
||||
* @v previous Previous X.509 certificate, or NULL
|
||||
* @v ctx Chain context
|
||||
* @ret rc Return status code
|
||||
*/
|
||||
static int x509_test_parse_next ( struct x509_certificate *cert, void *ctx ) {
|
||||
static int
|
||||
x509_test_parse_next ( struct x509_certificate *cert,
|
||||
const struct x509_certificate *previous __unused,
|
||||
void *ctx ) {
|
||||
struct x509_test_chain_context *context = ctx;
|
||||
struct x509_test_certificate *test_cert;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user