From: Andy Polyakov Date: Fri, 6 Dec 2002 17:18:10 +0000 (+0000) Subject: Workaround for GCC-ia64 compiler bug. X-Git-Tag: STATE_before_zlib~3 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bbf8198feb4e2c05e1e7a4c1ad43e3d507d35bda;p=oweals%2Fopenssl.git Workaround for GCC-ia64 compiler bug. Submitted by: Reviewed by: PR: --- diff --git a/crypto/asn1/a_d2i_fp.c b/crypto/asn1/a_d2i_fp.c index cfb56ae265..b67b75e7c2 100644 --- a/crypto/asn1/a_d2i_fp.c +++ b/crypto/asn1/a_d2i_fp.c @@ -149,7 +149,12 @@ static int asn1_d2i_read_bio(BIO *in, BUF_MEM **pb) ASN1_CTX c; int want=HEADER_SIZE; int eos=0; +#if defined(__GNUC__) && defined(__ia64) + /* pathetic compiler bug in all known versions as of Nov. 2002 */ + long off=0; +#else int off=0; +#endif int len=0; b=BUF_MEM_new();