diff options
author | Rich Salz <rsalz@openssl.org> | 2017-12-07 19:39:34 +0100 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2017-12-08 01:11:49 +0100 |
commit | cbe2964821bb063f61ed2544cfce196ec1c0d62b (patch) | |
tree | 098cdc33d8174fffae52bd8885e384ef86570c25 /test/bftest.c | |
parent | Document how the configuration option 'reconf' works (diff) | |
download | openssl-cbe2964821bb063f61ed2544cfce196ec1c0d62b.tar.xz openssl-cbe2964821bb063f61ed2544cfce196ec1c0d62b.zip |
Consistent formatting for sizeof(foo)
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4872)
Diffstat (limited to 'test/bftest.c')
-rw-r--r-- | test/bftest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/bftest.c b/test/bftest.c index 7ab3d5115f..5abb81d7c9 100644 --- a/test/bftest.c +++ b/test/bftest.c @@ -356,7 +356,7 @@ static int test_bf_cbc(void) BF_set_key(&key, 16, cbc_key); memset(cbc_in, 0, sizeof(cbc_in)); memset(cbc_out, 0, sizeof(cbc_out)); - memcpy(iv, cbc_iv, sizeof iv); + memcpy(iv, cbc_iv, sizeof(iv)); BF_cbc_encrypt((unsigned char *)cbc_data, cbc_out, len, &key, iv, BF_ENCRYPT); if (!TEST_mem_eq(cbc_out, 32, cbc_ok, 32)) |