Fix some issues near recent chomp changes.
[openssl.git] / crypto / ec / ec2_mult.c
index 635c0a55f1edb6788eeb2c12ace1ed6beff7f489..c9723bff8e2725de513853b0f6d5c72e2e9af346 100644 (file)
@@ -1,4 +1,3 @@
-/* crypto/ec/ec2_mult.c */
 /* ====================================================================
  * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED.
  *
@@ -439,8 +438,7 @@ int ec_GF2m_simple_mul(const EC_GROUP *group, EC_POINT *r,
  err:
     EC_POINT_free(p);
     EC_POINT_free(acc);
-    if (new_ctx != NULL)
-        BN_CTX_free(new_ctx);
+    BN_CTX_free(new_ctx);
     return ret;
 }