projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b2eb21
)
Use NULL as parameter when pointer can only be NULL.
author
Pauli
<paul.dale@oracle.com>
Fri, 2 Aug 2019 01:56:46 +0000
(11:56 +1000)
committer
Pauli
<paul.dale@oracle.com>
Fri, 2 Aug 2019 01:56:46 +0000
(11:56 +1000)
Code clarification.
Reviewed-by: Paul Yang <kaishen.yy@antfin.com>
(Merged from https://github.com/openssl/openssl/pull/9514)
crypto/ex_data.c
patch
|
blob
|
history
diff --git
a/crypto/ex_data.c
b/crypto/ex_data.c
index d7d0d5a726b893710e51c3d0526a521900094e03..a49aa087c88c42442e669fc0e177febd70af2fb4 100644
(file)
--- 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;
}