mirror of
https://github.com/ipxe/ipxe
synced 2025-12-23 05:21: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:
@@ -183,6 +183,7 @@ extern int x509_validate_root ( struct x509_certificate *cert,
|
||||
extern int x509_validate_time ( struct x509_certificate *cert, time_t time );
|
||||
extern int x509_validate_chain ( int ( * parse_next )
|
||||
( struct x509_certificate *cert,
|
||||
const struct x509_certificate *previous,
|
||||
void *context ),
|
||||
void *context, time_t time,
|
||||
struct x509_root *root,
|
||||
|
||||
Reference in New Issue
Block a user