From: Dr. Stephen Henson Date: Sat, 29 May 2010 12:49:48 +0000 (+0000) Subject: PR: 2278 X-Git-Tag: OpenSSL_1_0_0a~6 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1f655298249354bb431806d8698a59f5247b88c8;p=oweals%2Fopenssl.git PR: 2278 Submitted By: Mattias Ellert Fix type checking macro SKM_ASN1_SET_OF_i2d --- diff --git a/crypto/stack/safestack.h b/crypto/stack/safestack.h index d616b4aabd..891cb84a51 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), \