[openssl] OpenSSL_1_1_1-stable update

Dr. Paul Dale pauli at openssl.org
Sat Nov 27 06:52:41 UTC 2021


The branch OpenSSL_1_1_1-stable has been updated
       via  37dc4f9530d131b4f581582c34c08074abbc9923 (commit)
      from  791bfd91bcb02ee51bf16b195293daeeccc3d84c (commit)


- Log -----------------------------------------------------------------
commit 37dc4f9530d131b4f581582c34c08074abbc9923
Author: Chenglong Zhang <auvkone at gmail.com>
Date:   Thu Nov 25 16:21:06 2021 +0800

    Fix speed, use OPENSSL_free instead of free
    
    Reviewed-by: Tomas Mraz <tomas at openssl.org>
    Reviewed-by: Paul Dale <pauli at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/17132)

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

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

diff --git a/apps/speed.c b/apps/speed.c
index 7f2d3165f9..9eafb2c448 100644
--- a/apps/speed.c
+++ b/apps/speed.c
@@ -3494,7 +3494,7 @@ static int do_multi(int multi, int size_num)
             close(fd[1]);
             mr = 1;
             usertime = 0;
-            free(fds);
+            OPENSSL_free(fds);
             return 0;
         }
         printf("Forked child %d\n", n);
@@ -3607,7 +3607,7 @@ static int do_multi(int multi, int size_num)
 
         fclose(f);
     }
-    free(fds);
+    OPENSSL_free(fds);
     return 1;
 }
 #endif


More information about the openssl-commits mailing list