diff options
| author | jeremy <> | 2018-11-30 04:51:19 +0000 |
|---|---|---|
| committer | jeremy <> | 2018-11-30 04:51:19 +0000 |
| commit | 2fec6012aa120e4cc4d4629a739dbb86753102dd (patch) | |
| tree | 48b5057dc820f12009e4be646d4f454c8ab6c34e /src | |
| parent | e860c1107b1d4238c06dc7782d7c3b0d75315afb (diff) | |
| download | openbsd-2fec6012aa120e4cc4d4629a739dbb86753102dd.tar.gz openbsd-2fec6012aa120e4cc4d4629a739dbb86753102dd.tar.bz2 openbsd-2fec6012aa120e4cc4d4629a739dbb86753102dd.zip | |
Restore function prototype for ASN1_dup, fixing usage on I32LP64 platforms.
This prototype was removed inadvertantly in r1.50.
OK jsing@
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/asn1/asn1.h | 8 |
1 files changed, 7 insertions, 1 deletions
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 @@ | |||
| 1 | /* $OpenBSD: asn1.h,v 1.52 2018/11/09 03:42:30 tb Exp $ */ | 1 | /* $OpenBSD: asn1.h,v 1.53 2018/11/30 04:51:19 jeremy 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 | * |
| @@ -825,6 +825,12 @@ int ASN1_object_size(int constructed, int length, int tag); | |||
| 825 | 825 | ||
| 826 | void *ASN1_item_dup(const ASN1_ITEM *it, void *x); | 826 | void *ASN1_item_dup(const ASN1_ITEM *it, void *x); |
| 827 | 827 | ||
| 828 | #ifndef LIBRESSL_INTERNAL | ||
| 829 | |||
| 830 | void *ASN1_dup(i2d_of_void *i2d, d2i_of_void *d2i, void *x); | ||
| 831 | |||
| 832 | #endif /* !LIBRESSL_INTERNAL */ | ||
| 833 | |||
| 828 | void *ASN1_d2i_fp(void *(*xnew)(void), d2i_of_void *d2i, FILE *in, void **x); | 834 | void *ASN1_d2i_fp(void *(*xnew)(void), d2i_of_void *d2i, FILE *in, void **x); |
| 829 | 835 | ||
| 830 | #define ASN1_d2i_fp_of(type,xnew,d2i,in,x) \ | 836 | #define ASN1_d2i_fp_of(type,xnew,d2i,in,x) \ |
