From bbab9b61dd742bac5f71d53e778f3b4abe17d0e4 Mon Sep 17 00:00:00 2001 From: Nils Larsch Date: Wed, 8 Feb 2006 18:52:43 +0000 Subject: [PATCH] remove unnecessary check --- crypto/ec/ec_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/ec/ec_lib.c b/crypto/ec/ec_lib.c index 60aa7fdeee..e0d8d2804d 100644 --- a/crypto/ec/ec_lib.c +++ b/crypto/ec/ec_lib.c @@ -147,7 +147,7 @@ void EC_GROUP_clear_free(EC_GROUP *group) if (group->meth->group_clear_finish != 0) group->meth->group_clear_finish(group); - else if (group->meth != NULL && group->meth->group_finish != 0) + else if (group->meth->group_finish != 0) group->meth->group_finish(group); EC_EX_DATA_clear_free_all_data(&group->extra_data); -- 2.25.1