From 4d6e1e4f29de455b5e644ea9cae5d5f5a2dbef33 Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Sat, 1 Nov 2008 14:37:00 +0000 Subject: size_tification. --- crypto/asn1/asn_pack.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crypto/asn1/asn_pack.c') diff --git a/crypto/asn1/asn_pack.c b/crypto/asn1/asn_pack.c index 1e268de..751025e 100644 --- a/crypto/asn1/asn_pack.c +++ b/crypto/asn1/asn_pack.c @@ -66,7 +66,7 @@ /* Turn an ASN1 encoded SEQUENCE OF into a STACK of structures */ -STACK_OF(BLOCK) *ASN1_seq_unpack(const unsigned char *buf, int len, +STACK_OF(BLOCK) *ASN1_seq_unpack(const unsigned char *buf, size_t len, d2i_of_void *d2i, void (*free_func)(BLOCK)) { STACK_OF(BLOCK) *sk; @@ -83,7 +83,7 @@ STACK_OF(BLOCK) *ASN1_seq_unpack(const unsigned char *buf, int len, */ unsigned char *ASN1_seq_pack(STACK_OF(BLOCK) *safes, i2d_of_void *i2d, - unsigned char **buf, int *len) + unsigned char **buf, size_t *len) { int safelen; unsigned char *safe, *p; -- cgit v1.1