diff options
author | Andy Polyakov <appro@openssl.org> | 2002-12-06 18:18:10 +0100 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2002-12-06 18:18:10 +0100 |
commit | bbf8198feb4e2c05e1e7a4c1ad43e3d507d35bda (patch) | |
tree | b916ab1fb365b597ce4cb23e32804428f5632b69 /crypto/asn1/a_d2i_fp.c | |
parent | Some compilers are quite picky about non-void functions that don't return (diff) | |
download | openssl-bbf8198feb4e2c05e1e7a4c1ad43e3d507d35bda.tar.xz openssl-bbf8198feb4e2c05e1e7a4c1ad43e3d507d35bda.zip |
Workaround for GCC-ia64 compiler bug.
Submitted by: <appro>
Reviewed by:
PR:
Diffstat (limited to '')
-rw-r--r-- | crypto/asn1/a_d2i_fp.c | 5 |
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(); |