提交 0bf3c66c 编写于 作者: J Jon Spillett 提交者: Matt Caswell

Remove unused variable. Thanks @pauli-oracle

Reviewed-by: NRichard Levitte <levitte@openssl.org>
Reviewed-by: NMatt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3177)
上级 56bf5c55
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册