From: Dr. Stephen Henson Date: Thu, 2 Dec 2010 18:02:02 +0000 (+0000) Subject: PR: 2386 X-Git-Tag: OpenSSL_0_9_8q~3 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7258d33794c4269085a09f96bcf546e78b61bcb5;p=oweals%2Fopenssl.git PR: 2386 Submitted by: Stefan Birrer Reviewed by: steve Correct SKM_ASN1_SET_OF_d2i macro. --- diff --git a/crypto/stack/safestack.h b/crypto/stack/safestack.h index 78cc485e6d..b59c6409e4 100644 --- a/crypto/stack/safestack.h +++ b/crypto/stack/safestack.h @@ -127,7 +127,7 @@ STACK_OF(type) \ sk_is_sorted(CHECKED_PTR_OF(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_PTR_OF(STACK_OF(type), st), \ + (STACK_OF(type) *)d2i_ASN1_SET(CHECKED_PTR_OF(STACK_OF(type)*, st), \ pp, length, \ CHECKED_D2I_OF(type, d2i_func), \ CHECKED_SK_FREE_FUNC(type, free_func), \