mirror of
https://github.com/ipxe/ipxe
synced 2025-12-25 17:12:40 +03:00
[crypto] Generalise x509_parse_time() to asn1_generalized_time()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
FILE_LICENCE ( GPL2_OR_LATER );
|
||||
|
||||
#include <stdint.h>
|
||||
#include <time.h>
|
||||
#include <ipxe/tables.h>
|
||||
|
||||
/** An ASN.1 object cursor */
|
||||
@@ -239,5 +240,7 @@ extern int asn1_compare ( const struct asn1_cursor *cursor1,
|
||||
const struct asn1_cursor *cursor2 );
|
||||
extern struct asn1_algorithm *
|
||||
asn1_algorithm ( const struct asn1_cursor *cursor );
|
||||
extern int asn1_generalized_time ( const struct asn1_cursor *cursor,
|
||||
time_t *time );
|
||||
|
||||
#endif /* _IPXE_ASN1_H */
|
||||
|
||||
Reference in New Issue
Block a user