Fix definition of i2d_fn in asn1_encode_test.c
Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3174)
diff --git a/test/asn1_encode_test.c b/test/asn1_encode_test.c
index 293613a..68a0696 100644
--- a/test/asn1_encode_test.c
+++ b/test/asn1_encode_test.c
@@ -132,7 +132,7 @@
* 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 {