diff options
author | miod <> | 2014-04-23 19:16:15 +0000 |
---|---|---|
committer | miod <> | 2014-04-23 19:16:15 +0000 |
commit | 74919198a661a79b8b1d178302a6f95d210b5faf (patch) | |
tree | 75051559af6c4ff8475d3b5e3c949fa4e24df7dc | |
parent | 822b26b553053ed1495769e7ee5346ac4b115459 (diff) | |
download | openbsd-74919198a661a79b8b1d178302a6f95d210b5faf.tar.gz openbsd-74919198a661a79b8b1d178302a6f95d210b5faf.tar.bz2 openbsd-74919198a661a79b8b1d178302a6f95d210b5faf.zip |
Remove IRIX_CC_BUG workaround.
-rw-r--r-- | src/lib/libcrypto/bn/bn_add.c | 6 | ||||
-rw-r--r-- | src/lib/libssl/src/crypto/bn/bn_add.c | 6 |
2 files changed, 0 insertions, 12 deletions
diff --git a/src/lib/libcrypto/bn/bn_add.c b/src/lib/libcrypto/bn/bn_add.c index 9405163706..b36615910c 100644 --- a/src/lib/libcrypto/bn/bn_add.c +++ b/src/lib/libcrypto/bn/bn_add.c | |||
@@ -168,9 +168,6 @@ int BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b) | |||
168 | int max,min,dif; | 168 | int max,min,dif; |
169 | register BN_ULONG t1,t2,*ap,*bp,*rp; | 169 | register BN_ULONG t1,t2,*ap,*bp,*rp; |
170 | int i,carry; | 170 | int i,carry; |
171 | #if defined(IRIX_CC_BUG) && !defined(LINT) | ||
172 | int dummy; | ||
173 | #endif | ||
174 | 171 | ||
175 | bn_check_top(a); | 172 | bn_check_top(a); |
176 | bn_check_top(b); | 173 | bn_check_top(b); |
@@ -207,9 +204,6 @@ int BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b) | |||
207 | carry=(t1 < t2); | 204 | carry=(t1 < t2); |
208 | t1=(t1-t2)&BN_MASK2; | 205 | t1=(t1-t2)&BN_MASK2; |
209 | } | 206 | } |
210 | #if defined(IRIX_CC_BUG) && !defined(LINT) | ||
211 | dummy=t1; | ||
212 | #endif | ||
213 | *(rp++)=t1&BN_MASK2; | 207 | *(rp++)=t1&BN_MASK2; |
214 | } | 208 | } |
215 | #else | 209 | #else |
diff --git a/src/lib/libssl/src/crypto/bn/bn_add.c b/src/lib/libssl/src/crypto/bn/bn_add.c index 9405163706..b36615910c 100644 --- a/src/lib/libssl/src/crypto/bn/bn_add.c +++ b/src/lib/libssl/src/crypto/bn/bn_add.c | |||
@@ -168,9 +168,6 @@ int BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b) | |||
168 | int max,min,dif; | 168 | int max,min,dif; |
169 | register BN_ULONG t1,t2,*ap,*bp,*rp; | 169 | register BN_ULONG t1,t2,*ap,*bp,*rp; |
170 | int i,carry; | 170 | int i,carry; |
171 | #if defined(IRIX_CC_BUG) && !defined(LINT) | ||
172 | int dummy; | ||
173 | #endif | ||
174 | 171 | ||
175 | bn_check_top(a); | 172 | bn_check_top(a); |
176 | bn_check_top(b); | 173 | bn_check_top(b); |
@@ -207,9 +204,6 @@ int BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b) | |||
207 | carry=(t1 < t2); | 204 | carry=(t1 < t2); |
208 | t1=(t1-t2)&BN_MASK2; | 205 | t1=(t1-t2)&BN_MASK2; |
209 | } | 206 | } |
210 | #if defined(IRIX_CC_BUG) && !defined(LINT) | ||
211 | dummy=t1; | ||
212 | #endif | ||
213 | *(rp++)=t1&BN_MASK2; | 207 | *(rp++)=t1&BN_MASK2; |
214 | } | 208 | } |
215 | #else | 209 | #else |