projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Explicitly test against NULL; do not use !p or similar
[openssl.git]
/
crypto
/
ec
/
ec_lib.c
diff --git
a/crypto/ec/ec_lib.c
b/crypto/ec/ec_lib.c
index e45b8352cdb56b95f5f01c29e76b95e9a34ded3f..69b3c7fca58ca892c6fbc352a41fafe0a6cb7de9 100644
(file)
--- a/
crypto/ec/ec_lib.c
+++ b/
crypto/ec/ec_lib.c
@@
-710,7
+710,7
@@
EC_POINT *EC_POINT_new(const EC_GROUP *group)
void EC_POINT_free(EC_POINT *point)
{
- if (
!point
)
+ if (
point == NULL
)
return;
if (point->meth->point_finish != 0)
@@
-720,7
+720,7
@@
void EC_POINT_free(EC_POINT *point)
void EC_POINT_clear_free(EC_POINT *point)
{
- if (
!point
)
+ if (
point == NULL
)
return;
if (point->meth->point_clear_finish != 0)