aboutsummaryrefslogtreecommitdiff
path: root/lib/asn1/check-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/asn1/check-common.c')
-rw-r--r--lib/asn1/check-common.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/asn1/check-common.c b/lib/asn1/check-common.c
index 7eadc0109f52..c7836ef34327 100644
--- a/lib/asn1/check-common.c
+++ b/lib/asn1/check-common.c
@@ -192,12 +192,12 @@ int
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 *),
- int (ASN1CALL *decode)(unsigned char *, size_t, void *, size_t *),
- int (ASN1CALL *free_data)(void *),
+ generic_encode encode,
+ generic_length length,
+ generic_decode decode,
+ generic_free free_data,
int (*cmp)(void *a, void *b),
- int (ASN1CALL *copy)(const void *from, void *to))
+ generic_copy copy)
{
unsigned char *buf, *buf2;
int i;