apps: fix Camellia CBC performance loop

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14786)
This commit is contained in:
Pauli 2021-04-07 12:48:14 +10:00
parent 2f8fca79a1
commit 987a66a6fc

View File

@ -2114,7 +2114,7 @@ int speed_main(int argc, char **argv)
if (doit[algindex]) {
int st = 1;
keylen = 16 + i * 8;
keylen = 16 + k * 8;
for (i = 0; st && i < loopargs_len; i++) {
loopargs[i].ctx = init_evp_cipher_ctx(names[algindex],
key32, keylen);