Skip to content

Commit

Permalink
Remove unused variable. Thanks @pauli-oracle
Browse files Browse the repository at this point in the history
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from openssl#3177)
  • Loading branch information
jon-oracle authored and mattcaswell committed Apr 12, 2017
1 parent 56bf5c5 commit 0bf3c66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/bftest.c
Original file line number Diff line number Diff line change
Expand Up @@ -339,14 +339,14 @@ static int test_bf_ecb(int n)

static int test_bf_set_key(int n)
{
int i, ret = 1;
int ret = 1;
BF_KEY key;
unsigned char out[8];

BF_set_key(&key, n+1, key_test);
BF_ecb_encrypt(key_data, out, &key, BF_ENCRYPT);
/* mips-sgi-irix6.5-gcc vv -mabi=64 bug workaround */
if (!TEST_mem_eq(out, 8, &(key_out[i = n][0]), 8))
if (!TEST_mem_eq(out, 8, &(key_out[n][0]), 8))
ret = 0;

return ret;
Expand Down

0 comments on commit 0bf3c66

Please sign in to comment.