[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:
Michael Brown
2012-03-21 16:48:08 +00:00
parent c285378388
commit 2d9d0adc4e
4 changed files with 16 additions and 6 deletions

View File

@@ -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,