summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/asn1.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/asn1/asn1.h')
-rw-r--r--src/lib/libcrypto/asn1/asn1.h9
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);
719int i2d_ASN1_TIME(ASN1_TIME *a, unsigned char **out); 719int i2d_ASN1_TIME(ASN1_TIME *a, unsigned char **out);
720extern const ASN1_ITEM ASN1_TIME_it; 720extern const ASN1_ITEM ASN1_TIME_it;
721 721
722#ifdef LIBRESSL_INTERNAL
723int ASN1_TIME_to_tm(const ASN1_TIME *s, struct tm *tm);
724int ASN1_TIME_compare(const ASN1_TIME *t1, const ASN1_TIME *t2);
725int ASN1_TIME_cmp_time_t(const ASN1_TIME *s, time_t t2);
726int ASN1_TIME_normalize(ASN1_TIME *t);
727int ASN1_TIME_set_string_x509(ASN1_TIME *time, const char *str);
728#endif
722int ASN1_TIME_diff(int *pday, int *psec, const ASN1_TIME *from, 729int ASN1_TIME_diff(int *pday, int *psec, const ASN1_TIME *from,
723 const ASN1_TIME *to); 730 const ASN1_TIME *to);
724 731