projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b3a6ee
)
PR: 2278
author
Dr. Stephen Henson
<steve@openssl.org>
Sat, 29 May 2010 12:49:48 +0000
(12:49 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Sat, 29 May 2010 12:49:48 +0000
(12:49 +0000)
Submitted By: Mattias Ellert <mattias.ellert@fysast.uu.se>
Fix type checking macro SKM_ASN1_SET_OF_i2d
crypto/stack/safestack.h
patch
|
blob
|
history
diff --git
a/crypto/stack/safestack.h
b/crypto/stack/safestack.h
index d616b4aabd1395c2ed406797e91916986c145c19..891cb84a5147a807f57b301d9e5176536fdb85af 100644
(file)
--- 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), \