diff options
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; |