aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/stack
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2010-05-29 12:49:20 +0000
committerDr. Stephen Henson <steve@openssl.org>2010-05-29 12:49:20 +0000
commit97999375106863dd45af70a7050d99e6b29ef341 (patch)
tree8baa01eb288d03c42e3208b7d83c9c790814714c /crypto/stack
parent417a24dba560ce1419b75d0f8cf5ded819b31f31 (diff)
downloadopenssl-97999375106863dd45af70a7050d99e6b29ef341.tar.gz
PR: 2278
Submitted By: Mattias Ellert <mattias.ellert@fysast.uu.se> Fix type checking macro SKM_ASN1_SET_OF_i2d
Diffstat (limited to 'crypto/stack')
-rw-r--r--crypto/stack/safestack.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/stack/safestack.h b/crypto/stack/safestack.h
index 0583d27002..2a63b7143d 100644
--- a/crypto/stack/safestack.h
+++ b/crypto/stack/safestack.h
@@ -179,7 +179,7 @@ DECLARE_SPECIAL_STACK_OF(OPENSSL_BLOCK, void)
sk_is_sorted(CHECKED_STACK_OF(type, st))
#define SKM_ASN1_SET_OF_d2i(type, st, pp, length, d2i_func, free_func, ex_tag, ex_class) \
- (STACK_OF(type) *)d2i_ASN1_SET(CHECKED_STACK_OF(type, st), \
+ (STACK_OF(type) *)d2i_ASN1_SET((STACK_OF(OPENSSL_BLOCK) **)CHECKED_STACK_OF(type, st), \
pp, length, \
CHECKED_D2I_OF(type, d2i_func), \
CHECKED_SK_FREE_FUNC(type, free_func), \