diff options
author | steve <steve> | 2010-12-02 18:02:29 +0000 |
---|---|---|
committer | steve <steve> | 2010-12-02 18:02:29 +0000 |
commit | f4600191563c7355d275752c9973799d1157ac9d (patch) | |
tree | 9983d3af2e4c3795c59a3e025cd47c78dd191507 /crypto/stack | |
parent | 3b5fe91640e9c81d90ddfc11f3656b98771d02cf (diff) | |
download | openssl-f4600191563c7355d275752c9973799d1157ac9d.tar.gz |
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')
-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 2a63b7143..964a6dd76 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), \ |