diff options
author | Pauli <pauli@openssl.org> | 2021-04-07 12:48:14 +1000 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-04-08 22:57:24 +1000 |
commit | 987a66a6fcf3dffa987896551cb94de66f38cdea (patch) | |
tree | 95604c03391aef085fd8457b16147ba14ec8254f /apps/speed.c | |
parent | 2f8fca79a1cdffb6fadf49ff65769e417509f089 (diff) |
apps: fix Camellia CBC performance loop
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14786)
Diffstat (limited to 'apps/speed.c')
-rw-r--r-- | apps/speed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/speed.c b/apps/speed.c index 3cb93ecf12..56c896c31e 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -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); |