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


- Log -----------------------------------------------------------------
commit a00cceb22ca2bbe394e235345760d1fe54ee2eea
Author: Patrick Steuer <[email protected]>
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 <[email protected]>
    
    Reviewed-by: Andy Polyakov <[email protected]>
    Reviewed-by: Rich Salz <[email protected]>
    (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);
_____
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits

Reply via email to