[openssl] master update

Dr. Paul Dale pauli at openssl.org
Thu Apr 8 02:24:55 UTC 2021


The branch master has been updated
       via  9695f6de1579f5d46e75cfebbaf44bc99cb421ec (commit)
      from  e6c2f96489fc0c006845c8597f8ceed2f01f76ee (commit)


- Log -----------------------------------------------------------------
commit 9695f6de1579f5d46e75cfebbaf44bc99cb421ec
Author: Pauli <pauli at openssl.org>
Date:   Tue Apr 6 22:26:25 2021 +1000

    apps: fix AES CBC performance loop
    
    Reviewed-by: Tomas Mraz <tomas at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/14778)

-----------------------------------------------------------------------

Summary of changes:
 apps/speed.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);


More information about the openssl-commits mailing list