summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/asn1.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/asn1/asn1.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/lib/libcrypto/asn1/asn1.h b/src/lib/libcrypto/asn1/asn1.h
index 63458db944..aeabbc0a28 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.91 2024/03/02 09:08:41 tb Exp $ */ 1/* $OpenBSD: asn1.h,v 1.92 2024/04/10 14:55:12 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 *
@@ -573,9 +573,7 @@ ASN1_UTCTIME *ASN1_UTCTIME_adj(ASN1_UTCTIME *s, time_t t,
573 int offset_day, long offset_sec); 573 int offset_day, long offset_sec);
574int ASN1_UTCTIME_set_string(ASN1_UTCTIME *s, const char *str); 574int ASN1_UTCTIME_set_string(ASN1_UTCTIME *s, const char *str);
575 575
576#ifndef LIBRESSL_INTERNAL
577int ASN1_UTCTIME_cmp_time_t(const ASN1_UTCTIME *s, time_t t); 576int ASN1_UTCTIME_cmp_time_t(const ASN1_UTCTIME *s, time_t t);
578#endif /* !LIBRESSL_INTERNAL */
579 577
580int ASN1_GENERALIZEDTIME_check(const ASN1_GENERALIZEDTIME *a); 578int ASN1_GENERALIZEDTIME_check(const ASN1_GENERALIZEDTIME *a);
581ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_set(ASN1_GENERALIZEDTIME *s, 579ASN1_GENERALIZEDTIME *ASN1_GENERALIZEDTIME_set(ASN1_GENERALIZEDTIME *s,
@@ -736,12 +734,8 @@ int ASN1_object_size(int constructed, int length, int tag);
736 734
737void *ASN1_item_dup(const ASN1_ITEM *it, void *x); 735void *ASN1_item_dup(const ASN1_ITEM *it, void *x);
738 736
739#ifndef LIBRESSL_INTERNAL
740
741void *ASN1_dup(i2d_of_void *i2d, d2i_of_void *d2i, void *x); 737void *ASN1_dup(i2d_of_void *i2d, d2i_of_void *d2i, void *x);
742 738
743#endif /* !LIBRESSL_INTERNAL */
744
745void *ASN1_d2i_fp(void *(*xnew)(void), d2i_of_void *d2i, FILE *in, void **x); 739void *ASN1_d2i_fp(void *(*xnew)(void), d2i_of_void *d2i, FILE *in, void **x);
746 740
747#define ASN1_d2i_fp_of(type,xnew,d2i,in,x) \ 741#define ASN1_d2i_fp_of(type,xnew,d2i,in,x) \