diff options
author | Ben Laurie <ben@openssl.org> | 2005-03-31 15:57:54 +0200 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2005-03-31 15:57:54 +0200 |
commit | 8bb826ee53b726a9a2a42792ecb861194578404d (patch) | |
tree | c126ee7ea60bbc6893be7664518544ded9d725ce /crypto/asn1/asn_pack.c | |
parent | Add a file with fingerprints that have recently been used to sign (diff) | |
download | openssl-8bb826ee53b726a9a2a42792ecb861194578404d.tar.xz openssl-8bb826ee53b726a9a2a42792ecb861194578404d.zip |
Consistency.
Diffstat (limited to 'crypto/asn1/asn_pack.c')
-rw-r--r-- | crypto/asn1/asn_pack.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/crypto/asn1/asn_pack.c b/crypto/asn1/asn_pack.c index 7421e69aed..7aefde21ef 100644 --- a/crypto/asn1/asn_pack.c +++ b/crypto/asn1/asn_pack.c @@ -82,7 +82,7 @@ STACK *ASN1_seq_unpack(const unsigned char *buf, int len, * OPENSSL_malloc'ed buffer */ -unsigned char *ASN1_seq_pack(STACK *safes, int (*i2d)(void *,unsigned char **), +unsigned char *ASN1_seq_pack(STACK *safes, i2d_of_void *i2d, unsigned char **buf, int *len) { int safelen; @@ -119,8 +119,7 @@ void *ASN1_unpack_string (ASN1_STRING *oct, d2i_of_void *d2i) /* Pack an ASN1 object into an ASN1_STRING */ -ASN1_STRING *ASN1_pack_string(void *obj, int (*i2d)(void *,unsigned char **), - ASN1_STRING **oct) +ASN1_STRING *ASN1_pack_string(void *obj, i2d_of_void *i2d, ASN1_STRING **oct) { unsigned char *p; ASN1_STRING *octmp; |