Allowed point at infinity, supressed ecp_double()
diff --git a/library/ecp.c b/library/ecp.c
index 7f15737..2173e24 100644
--- a/library/ecp.c
+++ b/library/ecp.c
@@ -44,6 +44,7 @@
     if( pt == NULL )
         return;
 
+    pt->is_zero = 1;
     mpi_free( &( pt->X ) );
     mpi_free( &( pt->Y ) );
 }
@@ -62,6 +63,8 @@
     ecp_point_free( &( grp->G ) );
 }
 
+
+
 #if defined(POLARSSL_SELF_TEST)
 
 /*