Update DTLS code to match CBC decoding in TLS.
[oweals/openssl.git] / crypto / stack / safestack.h
index 78cc485e6d144b71b52afa371df2fa69c6fa7e26..b59c6409e4a563ac855b2422aaab86a9b189da6c 100644 (file)
@@ -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), \