[openssl-commits] [openssl] master update

Rich Salz rsalz at openssl.org
Mon Dec 4 15:36:09 UTC 2017


The branch master has been updated
       via  a00cceb22ca2bbe394e235345760d1fe54ee2eea (commit)
      from  546fda260e66a3b252f34760afa2c3aaf2f62d5d (commit)


- Log -----------------------------------------------------------------
commit a00cceb22ca2bbe394e235345760d1fe54ee2eea
Author: Patrick Steuer <patrick.steuer at de.ibm.com>
Date:   Mon Dec 4 10:23:24 2017 -0500

    key_A and key_B had 3 references, only 2 were freed.
    
    Signed-off-by: Patrick Steuer <patrick.steuer at de.ibm.com>
    
    Reviewed-by: Andy Polyakov <appro at openssl.org>
    Reviewed-by: Rich Salz <rsalz at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/4837)

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

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

diff --git a/apps/speed.c b/apps/speed.c
index bca2968..271472e 100644
--- a/apps/speed.c
+++ b/apps/speed.c
@@ -2819,6 +2819,8 @@ int speed_main(int argc, char **argv)
             loopargs[i].ecdh_ctx[testnum] = ctx;
             loopargs[i].outlen[testnum] = outlen;
 
+            EVP_PKEY_free(key_A);
+            EVP_PKEY_free(key_B);
             EVP_PKEY_CTX_free(kctx);
             kctx = NULL;
             EVP_PKEY_CTX_free(test_ctx);


More information about the openssl-commits mailing list