summaryrefslogtreecommitdiff
path: root/crypto/bf
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2000-06-05 14:39:47 +0000
committerAndy Polyakov <appro@openssl.org>2000-06-05 14:39:47 +0000
commite6441154fc8365f0be481d9f619caedc019283d6 (patch)
tree56a31240fd1ab17c0281b0fbf0ca2c4622d854de /crypto/bf
parent849c0e3046966cf3f0b2d51d5b4c7f3aee99424e (diff)
downloadopenssl-new-e6441154fc8365f0be481d9f619caedc019283d6.tar.gz
GCC 2.95.2 from IRIX 6.5 -mabi=64 compiler bug workaround:-(
Submitted by: Reviewed by: PR:
Diffstat (limited to 'crypto/bf')
-rw-r--r--crypto/bf/bftest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/bf/bftest.c b/crypto/bf/bftest.c
index 5695250195..cf67cadefd 100644
--- a/crypto/bf/bftest.c
+++ b/crypto/bf/bftest.c
@@ -442,7 +442,8 @@ static int test(void)
{
BF_set_key(&key,n,key_test);
BF_ecb_encrypt(key_data,out,&key,BF_ENCRYPT);
- if (memcmp(out,&(key_out[n-1][0]),8) != 0)
+ /* mips-sgi-irix6.5-gcc vv -mabi=64 bug workaround */
+ if (memcmp(out,&(key_out[i=n-1][0]),8) != 0)
{
printf("blowfish setkey error\n");
err=1;