diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2010-12-02 18:02:14 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2010-12-02 18:02:14 +0000 |
commit | 411a388c620d2615293dfe4b9dec4ea902df33cc (patch) | |
tree | 5fa0735bfa9ad13354522437ffb225b1d8e1ac03 /crypto/stack/safestack.h | |
parent | 61c10d42f6204016480ceffa0226b891b3fdfbba (diff) |
PR: 2386
Submitted by: Stefan Birrer <stefan.birrer@adnovum.ch>
Reviewed by: steve
Correct SKM_ASN1_SET_OF_d2i macro.
Diffstat (limited to 'crypto/stack/safestack.h')
-rw-r--r-- | crypto/stack/safestack.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/stack/safestack.h b/crypto/stack/safestack.h index 891cb84a51..e46b8a408f 100644 --- a/crypto/stack/safestack.h +++ b/crypto/stack/safestack.h @@ -179,7 +179,8 @@ 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((STACK_OF(OPENSSL_BLOCK) **)CHECKED_STACK_OF(type, st), \ + (STACK_OF(type) *)d2i_ASN1_SET( \ + (STACK_OF(OPENSSL_BLOCK) **)CHECKED_PTR_OF(STACK_OF(type)*, st), \ pp, length, \ CHECKED_D2I_OF(type, d2i_func), \ CHECKED_SK_FREE_FUNC(type, free_func), \ |