diff options
Diffstat (limited to 'src/lib/libcrypto/asn1/asn1.h')
-rw-r--r-- | src/lib/libcrypto/asn1/asn1.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/libcrypto/asn1/asn1.h b/src/lib/libcrypto/asn1/asn1.h index 0db0b1d8fe..3ff3f51d34 100644 --- a/src/lib/libcrypto/asn1/asn1.h +++ b/src/lib/libcrypto/asn1/asn1.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: asn1.h,v 1.64 2022/06/25 16:15:18 jsing Exp $ */ | 1 | /* $OpenBSD: asn1.h,v 1.65 2022/06/27 13:54:57 beck Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -719,6 +719,13 @@ ASN1_TIME *d2i_ASN1_TIME(ASN1_TIME **a, const unsigned char **in, long len); | |||
719 | int i2d_ASN1_TIME(ASN1_TIME *a, unsigned char **out); | 719 | int i2d_ASN1_TIME(ASN1_TIME *a, unsigned char **out); |
720 | extern const ASN1_ITEM ASN1_TIME_it; | 720 | extern const ASN1_ITEM ASN1_TIME_it; |
721 | 721 | ||
722 | #ifdef LIBRESSL_INTERNAL | ||
723 | int ASN1_TIME_to_tm(const ASN1_TIME *s, struct tm *tm); | ||
724 | int ASN1_TIME_compare(const ASN1_TIME *t1, const ASN1_TIME *t2); | ||
725 | int ASN1_TIME_cmp_time_t(const ASN1_TIME *s, time_t t2); | ||
726 | int ASN1_TIME_normalize(ASN1_TIME *t); | ||
727 | int ASN1_TIME_set_string_x509(ASN1_TIME *time, const char *str); | ||
728 | #endif | ||
722 | int ASN1_TIME_diff(int *pday, int *psec, const ASN1_TIME *from, | 729 | int ASN1_TIME_diff(int *pday, int *psec, const ASN1_TIME *from, |
723 | const ASN1_TIME *to); | 730 | const ASN1_TIME *to); |
724 | 731 | ||