From: miod Date: Wed, 23 Apr 2014 19:16:15 +0000 (+0000) Subject: Remove IRIX_CC_BUG workaround. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=0b0b0a9981599916d7299b1e0f3d7b223a72e090;p=openbsd Remove IRIX_CC_BUG workaround. --- diff --git a/lib/libcrypto/bn/bn_add.c b/lib/libcrypto/bn/bn_add.c index 9405163706a..b36615910ce 100644 --- a/lib/libcrypto/bn/bn_add.c +++ b/lib/libcrypto/bn/bn_add.c @@ -168,9 +168,6 @@ int BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b) int max,min,dif; register BN_ULONG t1,t2,*ap,*bp,*rp; int i,carry; -#if defined(IRIX_CC_BUG) && !defined(LINT) - int dummy; -#endif bn_check_top(a); bn_check_top(b); @@ -207,9 +204,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/lib/libssl/src/crypto/bn/bn_add.c b/lib/libssl/src/crypto/bn/bn_add.c index 9405163706a..b36615910ce 100644 --- a/lib/libssl/src/crypto/bn/bn_add.c +++ b/lib/libssl/src/crypto/bn/bn_add.c @@ -168,9 +168,6 @@ int BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b) int max,min,dif; register BN_ULONG t1,t2,*ap,*bp,*rp; int i,carry; -#if defined(IRIX_CC_BUG) && !defined(LINT) - int dummy; -#endif bn_check_top(a); bn_check_top(b); @@ -207,9 +204,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