asn1: Fix check/print type confusion

This commit is contained in:
Nicolas Williams
2021-04-01 01:06:57 -05:00
parent e7a8457fd2
commit 9ff74bcd21
3 changed files with 7 additions and 7 deletions

View File

@@ -197,9 +197,9 @@ generic_test (const struct test_case *tests,
unsigned ntests,
size_t data_size,
int (ASN1CALL *encode)(unsigned char *, size_t, void *, size_t *),
int (ASN1CALL *length)(void *),
size_t (ASN1CALL *length)(void *),
int (ASN1CALL *decode)(unsigned char *, size_t, void *, size_t *),
int (ASN1CALL *free_data)(void *),
void (ASN1CALL *free_data)(void *),
int (*cmp)(void *a, void *b),
int (ASN1CALL *copy)(const void *from, void *to))
{