aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/ec/ec_lib.c
diff options
context:
space:
mode:
authorNils Larsch <nils@openssl.org>2006-03-15 17:45:43 +0000
committerNils Larsch <nils@openssl.org>2006-03-15 17:45:43 +0000
commit67b6f1ca889d789e04c58e5b2fbad0944bb1cd1a (patch)
tree9a367d762cfb0e55a2b8d224d8e7e1928089387c /crypto/ec/ec_lib.c
parenta4ff392503fbc9ccd50fb425a69e50a64058314c (diff)
downloadopenssl-67b6f1ca889d789e04c58e5b2fbad0944bb1cd1a.tar.gz
fix problems found by coverity: remove useless code
Diffstat (limited to 'crypto/ec/ec_lib.c')
-rw-r--r--crypto/ec/ec_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ec/ec_lib.c b/crypto/ec/ec_lib.c
index e0d8d2804d..dd7da0fcf9 100644
--- a/crypto/ec/ec_lib.c
+++ b/crypto/ec/ec_lib.c
@@ -740,7 +740,7 @@ void EC_POINT_clear_free(EC_POINT *point)
if (point->meth->point_clear_finish != 0)
point->meth->point_clear_finish(point);
- else if (point->meth != NULL && point->meth->point_finish != 0)
+ else if (point->meth->point_finish != 0)
point->meth->point_finish(point);
OPENSSL_cleanse(point, sizeof *point);
OPENSSL_free(point);