From ce46eb83da6f0dd3fd9a3e951067930ee51d2abb Mon Sep 17 00:00:00 2001 From: jeremy <> Date: Fri, 30 Nov 2018 04:51:19 +0000 Subject: Restore function prototype for ASN1_dup, fixing usage on I32LP64 platforms. This prototype was removed inadvertantly in r1.50. OK jsing@ --- src/lib/libcrypto/asn1/asn1.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/libcrypto/asn1/asn1.h b/src/lib/libcrypto/asn1/asn1.h index f6c6ba8045..0a8da415fb 100644 --- a/src/lib/libcrypto/asn1/asn1.h +++ b/src/lib/libcrypto/asn1/asn1.h @@ -1,4 +1,4 @@ -/* $OpenBSD: asn1.h,v 1.52 2018/11/09 03:42:30 tb Exp $ */ +/* $OpenBSD: asn1.h,v 1.53 2018/11/30 04:51:19 jeremy Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -825,6 +825,12 @@ int ASN1_object_size(int constructed, int length, int tag); void *ASN1_item_dup(const ASN1_ITEM *it, void *x); +#ifndef LIBRESSL_INTERNAL + +void *ASN1_dup(i2d_of_void *i2d, d2i_of_void *d2i, void *x); + +#endif /* !LIBRESSL_INTERNAL */ + void *ASN1_d2i_fp(void *(*xnew)(void), d2i_of_void *d2i, FILE *in, void **x); #define ASN1_d2i_fp_of(type,xnew,d2i,in,x) \ -- cgit v1.2.3-55-g6feb