From: Arkadiusz Miƛkiewicz Date: Sat, 24 Feb 2007 20:58:14 +0000 (+0000) Subject: - up for e X-Git-Tag: auto/th/openssl-0_9_8e-2~2 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fopenssl.git;a=commitdiff_plain;h=a8f5bcdd6a9301e1772677aac2ffe3ce40379328 - up for e Changed files: openssl-gcc_4_2.patch -> 1.2 --- diff --git a/openssl-gcc_4_2.patch b/openssl-gcc_4_2.patch index f9c6838..c4d797c 100644 --- a/openssl-gcc_4_2.patch +++ b/openssl-gcc_4_2.patch @@ -122,7 +122,7 @@ I hope someone can come up with a better idea... -return(((type *(*)(D2I_OF(type),char *,FILE *,type **,pem_password_cb *,void *))openssl_fcast(PEM_ASN1_read))(d2i_##asn1, str,fp,x,cb,u)); \ +static void *__PEM_ASN1_read=openssl_fcast(PEM_ASN1_read); \ +return(((type *(*)(D2I_OF(type),char *,FILE *,type **,pem_password_cb *,void *))__PEM_ASN1_read)(d2i_##asn1, str,fp,x,cb,u)); \ - } \ + } #define IMPLEMENT_PEM_write_fp(name, type, str, asn1) \ int PEM_write_##name(FILE *fp, type *x) \