diff options
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/ipxe/asn1.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/ipxe/asn1.h b/src/include/ipxe/asn1.h index 1c433c5e7..38f0e5b01 100644 --- a/src/include/ipxe/asn1.h +++ b/src/include/ipxe/asn1.h @@ -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 */ |
