summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorPauli <pauli@openssl.org>2021-04-06 14:26:25 +0200
committerPauli <pauli@openssl.org>2021-04-08 04:24:37 +0200
commit9695f6de1579f5d46e75cfebbaf44bc99cb421ec (patch)
tree5f224a271b78106a96795031563b1a34652c28f6 /apps
parentFix more certificate related lib_ctx settings. (diff)
downloadopenssl-9695f6de1579f5d46e75cfebbaf44bc99cb421ec.tar.xz
openssl-9695f6de1579f5d46e75cfebbaf44bc99cb421ec.zip
apps: fix AES CBC performance loop
Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14778)
Diffstat (limited to 'apps')
-rw-r--r--apps/speed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/speed.c b/apps/speed.c
index 25c384d775..3cb93ecf12 100644
--- a/apps/speed.c
+++ b/apps/speed.c
@@ -2088,7 +2088,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);