diff options
author | Jeremy Evans <jeremy@cvs.openbsd.org> | 2018-11-30 04:51:20 +0000 |
---|---|---|
committer | Jeremy Evans <jeremy@cvs.openbsd.org> | 2018-11-30 04:51:20 +0000 |
commit | d68b109eb091b764ed4e2c999cb6c969ebcf8caa (patch) | |
tree | ca7efecea16e5bc49d3c81abb0571c9884ab86b8 /lib/libcrypto | |
parent | a14e29d81ddacc7985d024dd24728641558fc92e (diff) |
Restore function prototype for ASN1_dup, fixing usage on I32LP64 platforms.
This prototype was removed inadvertantly in r1.50.
OK jsing@
Diffstat (limited to 'lib/libcrypto')
-rw-r--r-- | lib/libcrypto/asn1/asn1.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/libcrypto/asn1/asn1.h b/lib/libcrypto/asn1/asn1.h index f6c6ba8045c..0a8da415fb4 100644 --- a/lib/libcrypto/asn1/asn1.h +++ b/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) \ |