Fix definition of i2d_fn in asn1_encode_test.c
authorRichard Levitte <levitte@openssl.org>
Mon, 10 Apr 2017 23:37:28 +0000 (01:37 +0200)
committerRichard Levitte <levitte@openssl.org>
Wed, 12 Apr 2017 10:30:38 +0000 (12:30 +0200)
Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3174)

test/asn1_encode_test.c

index 293613a44fd93faf2386771af5b85268106ae1cf..68a069685f6f406f3ba43d976a255920c3fd63e5 100644 (file)
@@ -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 {