summaryrefslogtreecommitdiff
path: root/crypto/stack
diff options
context:
space:
mode:
authorlevitte <levitte>2005-04-20 13:17:42 +0000
committerlevitte <levitte>2005-04-20 13:17:42 +0000
commit122b28b299e0a999925c19cfddc3ca9f13aa7131 (patch)
treec6bd9596287533bc8c9e3ffa4b1e2f1776c71a56 /crypto/stack
parent1921aa122ccc56ce78ead05b397d65c01a51a027 (diff)
downloadopenssl-122b28b299e0a999925c19cfddc3ca9f13aa7131.tar.gz
Make sure id2_func is properly cast as well...
Diffstat (limited to 'crypto/stack')
-rw-r--r--crypto/stack/safestack.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/stack/safestack.h b/crypto/stack/safestack.h
index 3ae9d272d..38dd10364 100644
--- a/crypto/stack/safestack.h
+++ b/crypto/stack/safestack.h
@@ -196,10 +196,10 @@ STACK_OF(type) \
#define SKM_ASN1_SET_OF_d2i(type, st, pp, length, d2i_func, free_func, ex_tag, ex_class) \
d2i_ASN1_SET(st,pp,length, (void *(*)(void ** ,const unsigned char ** ,long))d2i_func, (void (*)(void *))free_func, ex_tag,ex_class)
#define SKM_ASN1_SET_OF_i2d(type, st, pp, i2d_func, ex_tag, ex_class, is_set) \
- i2d_ASN1_SET(st,pp,i2d_func,ex_tag,ex_class,is_set)
+ i2d_ASN1_SET(st,pp,(int (*)(void *, unsigned char **))i2d_func,ex_tag,ex_class,is_set)
#define SKM_ASN1_seq_pack(type, st, i2d_func, buf, len) \
- ASN1_seq_pack(st, i2d_func, buf, len)
+ ASN1_seq_pack(st, (int (*)(void *, unsigned char **))i2d_func, buf, len)
#define SKM_ASN1_seq_unpack(type, buf, len, d2i_func, free_func) \
ASN1_seq_unpack(buf,len,(void *(*)(void **,const unsigned char **,long))d2i_func, (void(*)(void *))free_func)