[openssl] master update

Dr. Paul Dale pauli at openssl.org
Fri Aug 2 03:08:02 UTC 2019


The branch master has been updated
       via  823ee00a396f91df4517af13dafae679ae10b3f4 (commit)
      from  2b2eb210a1365f80a125cebdd05ed567cb3ca7cf (commit)


- Log -----------------------------------------------------------------
commit 823ee00a396f91df4517af13dafae679ae10b3f4
Author: Pauli <paul.dale at oracle.com>
Date:   Fri Aug 2 11:56:46 2019 +1000

    Use NULL as parameter when pointer can only be NULL.
    
    Code clarification.
    
    Reviewed-by: Paul Yang <kaishen.yy at antfin.com>
    (Merged from https://github.com/openssl/openssl/pull/9514)

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

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

diff --git a/crypto/ex_data.c b/crypto/ex_data.c
index d7d0d5a726..a49aa087c8 100644
--- a/crypto/ex_data.c
+++ b/crypto/ex_data.c
@@ -421,7 +421,7 @@ int CRYPTO_alloc_ex_data(int class_index, void *obj, CRYPTO_EX_DATA *ad,
     if (f->new_func == NULL)
         return 0;
 
-    f->new_func(obj, curval, ad, idx, f->argl, f->argp);
+    f->new_func(obj, NULL, ad, idx, f->argl, f->argp);
 
     return 1;
 }


More information about the openssl-commits mailing list