summaryrefslogtreecommitdiff
path: root/test/asn1_encode_test.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2017-04-11 01:37:28 +0200
committerRichard Levitte <levitte@openssl.org>2017-04-12 12:30:38 +0200
commit9fea3a51e5a1816c95bb687ebab4b64656e1b2bb (patch)
treeb6083c5fdff28da75c3ad1569d755b3135ac7beb /test/asn1_encode_test.c
parentfa2274e805b9787d90306963e3921a9e6f7010eb (diff)
downloadopenssl-new-9fea3a51e5a1816c95bb687ebab4b64656e1b2bb.tar.gz
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)
Diffstat (limited to 'test/asn1_encode_test.c')
-rw-r--r--test/asn1_encode_test.c2
1 files changed, 1 insertions, 1 deletions
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 {