Avoid reading an unused byte after the buffer
[oweals/openssl.git] / crypto / ec / ec_mult.c
index fe87c418aab6a21932f379ece0b079b44b5e4300..16b37db671c8d46cd1c8473b93081df6487d17cb 100644 (file)
@@ -496,11 +496,8 @@ int ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
         }
     }
 
-#if 1                           /* optional; EC_window_bits_for_scalar_size
-                                 * assumes we do this step */
     if (!EC_POINTs_make_affine(group, num_val, val, ctx))
         goto err;
-#endif
 
     r_is_at_infinity = 1;