remove unnecessary check
authorNils Larsch <nils@openssl.org>
Wed, 8 Feb 2006 18:52:43 +0000 (18:52 +0000)
committerNils Larsch <nils@openssl.org>
Wed, 8 Feb 2006 18:52:43 +0000 (18:52 +0000)
crypto/ec/ec_lib.c

index 60aa7fdeeeac669c51dff3d5b09d2bda8f85ee5a..e0d8d2804dfc47011f9d72cfdcad7da532e6f152 100644 (file)
@@ -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);