diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/bf/bftest.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/bf/bftest.c b/src/lib/libcrypto/bf/bftest.c index 5695250195..cf67cadefd 100644 --- a/src/lib/libcrypto/bf/bftest.c +++ b/src/lib/libcrypto/bf/bftest.c | |||
| @@ -442,7 +442,8 @@ static int test(void) | |||
| 442 | { | 442 | { |
| 443 | BF_set_key(&key,n,key_test); | 443 | BF_set_key(&key,n,key_test); |
| 444 | BF_ecb_encrypt(key_data,out,&key,BF_ENCRYPT); | 444 | BF_ecb_encrypt(key_data,out,&key,BF_ENCRYPT); |
| 445 | if (memcmp(out,&(key_out[n-1][0]),8) != 0) | 445 | /* mips-sgi-irix6.5-gcc vv -mabi=64 bug workaround */ |
| 446 | if (memcmp(out,&(key_out[i=n-1][0]),8) != 0) | ||
| 446 | { | 447 | { |
| 447 | printf("blowfish setkey error\n"); | 448 | printf("blowfish setkey error\n"); |
| 448 | err=1; | 449 | err=1; |
