summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2002-12-06 17:18:10 +0000
committerAndy Polyakov <appro@openssl.org>2002-12-06 17:18:10 +0000
commitbbf8198feb4e2c05e1e7a4c1ad43e3d507d35bda (patch)
treeb916ab1fb365b597ce4cb23e32804428f5632b69
parent3dda0dd2a26c7e0a9e199b7803a914c8bd6577c2 (diff)
Workaround for GCC-ia64 compiler bug.
Submitted by: <appro> Reviewed by: PR:
-rw-r--r--crypto/asn1/a_d2i_fp.c5
1 files changed, 5 insertions, 0 deletions
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();