projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
GCC 2.95.2 from IRIX 6.5 -mabi=64 compiler bug workaround:-(
[openssl.git]
/
crypto
/
bf
/
bftest.c
diff --git
a/crypto/bf/bftest.c
b/crypto/bf/bftest.c
index 569525019548ad5a4ff390f929573eb5c3244151..cf67cadefd4204eebf52aec518e0b144a3c2e3bb 100644
(file)
--- 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);
{
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;
{
printf("blowfish setkey error\n");
err=1;