diff options
author | djm <> | 2010-10-01 22:59:01 +0000 |
---|---|---|
committer | djm <> | 2010-10-01 22:59:01 +0000 |
commit | fe047d8b632246cb2db3234a0a4f32e5c318857b (patch) | |
tree | 939b752540947d33507b3acc48d76a8bfb7c3dc3 /src/lib/libcrypto/asn1/asn_pack.c | |
parent | 2ea67f4aa254b09ded62e6e14fc893bbe6381579 (diff) | |
download | openbsd-fe047d8b632246cb2db3234a0a4f32e5c318857b.tar.gz openbsd-fe047d8b632246cb2db3234a0a4f32e5c318857b.tar.bz2 openbsd-fe047d8b632246cb2db3234a0a4f32e5c318857b.zip |
resolve conflicts, fix local changes
Diffstat (limited to 'src/lib/libcrypto/asn1/asn_pack.c')
-rw-r--r-- | src/lib/libcrypto/asn1/asn_pack.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/asn1/asn_pack.c b/src/lib/libcrypto/asn1/asn_pack.c index f1a5a05632..ad738217d7 100644 --- a/src/lib/libcrypto/asn1/asn_pack.c +++ b/src/lib/libcrypto/asn1/asn_pack.c | |||
@@ -66,10 +66,10 @@ | |||
66 | 66 | ||
67 | /* Turn an ASN1 encoded SEQUENCE OF into a STACK of structures */ | 67 | /* Turn an ASN1 encoded SEQUENCE OF into a STACK of structures */ |
68 | 68 | ||
69 | STACK *ASN1_seq_unpack(const unsigned char *buf, int len, | 69 | STACK_OF(OPENSSL_BLOCK) *ASN1_seq_unpack(const unsigned char *buf, int len, |
70 | d2i_of_void *d2i,void (*free_func)(void *)) | 70 | d2i_of_void *d2i, void (*free_func)(OPENSSL_BLOCK)) |
71 | { | 71 | { |
72 | STACK *sk; | 72 | STACK_OF(OPENSSL_BLOCK) *sk; |
73 | const unsigned char *pbuf; | 73 | const unsigned char *pbuf; |
74 | pbuf = buf; | 74 | pbuf = buf; |
75 | if (!(sk = d2i_ASN1_SET(NULL, &pbuf, len, d2i, free_func, | 75 | if (!(sk = d2i_ASN1_SET(NULL, &pbuf, len, d2i, free_func, |
@@ -82,7 +82,7 @@ STACK *ASN1_seq_unpack(const unsigned char *buf, int len, | |||
82 | * OPENSSL_malloc'ed buffer | 82 | * OPENSSL_malloc'ed buffer |
83 | */ | 83 | */ |
84 | 84 | ||
85 | unsigned char *ASN1_seq_pack(STACK *safes, i2d_of_void *i2d, | 85 | unsigned char *ASN1_seq_pack(STACK_OF(OPENSSL_BLOCK) *safes, i2d_of_void *i2d, |
86 | unsigned char **buf, int *len) | 86 | unsigned char **buf, int *len) |
87 | { | 87 | { |
88 | int safelen; | 88 | int safelen; |