From 49f386578e374b8b1941f500459b0369d92d8615 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 20 Apr 2005 12:53:50 +0000 Subject: [PATCH 1/1] Type mismatch detected by DEC C compiler. void* != void** --- crypto/stack/safestack.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/stack/safestack.h b/crypto/stack/safestack.h index 3167e3ec6e..3b2680584b 100644 --- a/crypto/stack/safestack.h +++ b/crypto/stack/safestack.h @@ -201,7 +201,7 @@ STACK_OF(type) \ #define SKM_ASN1_seq_pack(type, st, i2d_func, buf, len) \ ASN1_seq_pack(st, i2d_func, buf, len) #define SKM_ASN1_seq_unpack(type, buf, len, d2i_func, free_func) \ - ASN1_seq_unpack(buf,len,(char *(*)(void *,const unsigned char **,long))d2i_func, (void(*)(void *))free_func) + ASN1_seq_unpack(buf,len,(char *(*)(void **,const unsigned char **,long))d2i_func, (void(*)(void *))free_func) #define SKM_PKCS12_decrypt_d2i(type, algor, d2i_func, free_func, pass, passlen, oct, seq) \ ((STACK *)PKCS12_decrypt_d2i(algor,(char *(*)())d2i_func, (void(*)(void *))free_func,pass,passlen,oct,seq)) -- 2.34.1