summaryrefslogtreecommitdiffstats
path: root/test/x509aux.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/x509aux.c')
-rw-r--r--test/x509aux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/x509aux.c b/test/x509aux.c
index ec2618d780..1489428d52 100644
--- a/test/x509aux.c
+++ b/test/x509aux.c
@@ -27,7 +27,7 @@ static int test_certs(int num)
unsigned char *data = 0;
long len;
typedef X509 *(*d2i_X509_t)(X509 **, const unsigned char **, long);
- typedef int (*i2d_X509_t)(X509 *, unsigned char **);
+ typedef int (*i2d_X509_t)(const X509 *, unsigned char **);
int err = 0;
BIO *fp = BIO_new_file(test_get_argument(num), "r");
X509 *reuse = NULL;