From: Rich Salz Date: Thu, 25 Sep 2014 18:43:24 +0000 (-0400) Subject: Remove #ifdef's for IRIX_CC_BUG X-Git-Tag: master-post-reformat~359 X-Git-Url: https://git.openssl.org/gitweb/?a=commitdiff_plain;ds=sidebyside;h=3d81ec5b92e1141762eb72caf2aeb9b2cd019a78;p=openssl.git Remove #ifdef's for IRIX_CC_BUG Reviewed-by: Andy Polyakov --- diff --git a/crypto/bn/bn_add.c b/crypto/bn/bn_add.c index 3835a8428c..caf3575915 100644 --- a/crypto/bn/bn_add.c +++ b/crypto/bn/bn_add.c @@ -171,9 +171,6 @@ int BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b) register BN_ULONG t1,t2,*rp; register const BN_ULONG *ap,*bp; int i,carry; -#if defined(IRIX_CC_BUG) && !defined(LINT) - int dummy; -#endif bn_check_top(a); bn_check_top(b); @@ -210,9 +207,6 @@ int BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b) carry=(t1 < t2); t1=(t1-t2)&BN_MASK2; } -#if defined(IRIX_CC_BUG) && !defined(LINT) - dummy=t1; -#endif *(rp++)=t1&BN_MASK2; } #else diff --git a/e_os.h b/e_os.h index 0e01b46574..a5a2607b8f 100644 --- a/e_os.h +++ b/e_os.h @@ -657,13 +657,6 @@ extern char *sys_errlist[]; extern int sys_nerr; #define DG_GCC_BUG /* gcc < 2.6.3 on DGUX */ -#ifdef sgi -#define IRIX_CC_BUG /* all version of IRIX I've tested (4.* 5.*) */ -#endif -#ifdef OPENSSL_SYS_SNI -#define IRIX_CC_BUG /* CDS++ up to V2.0Bsomething suffered from the same bug.*/ -#endif - #if defined(OPENSSL_SYS_WINDOWS) # define strcasecmp _stricmp # define strncasecmp _strnicmp