From: Richard Levitte Date: Mon, 10 Apr 2017 23:37:28 +0000 (+0200) Subject: Fix definition of i2d_fn in asn1_encode_test.c X-Git-Tag: OpenSSL_1_1_1-pre1~1789 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9fea3a51e5a1816c95bb687ebab4b64656e1b2bb;p=oweals%2Fopenssl.git Fix definition of i2d_fn in asn1_encode_test.c Reviewed-by: Andy Polyakov (Merged from https://github.com/openssl/openssl/pull/3174) --- diff --git a/test/asn1_encode_test.c b/test/asn1_encode_test.c index 293613a44f..68a069685f 100644 --- a/test/asn1_encode_test.c +++ b/test/asn1_encode_test.c @@ -132,7 +132,7 @@ static TEST_CUSTOM_DATA test_custom_data[] = { * A structure to collect all test information in. There MUST be one instance * of this for each test */ -typedef int i2d_fn(void **a, unsigned char **pp); +typedef int i2d_fn(void *a, unsigned char **pp); typedef void *d2i_fn(void **a, unsigned char **pp, long length); typedef void ifree_fn(void *a); typedef struct {