diff --git a/library/ecp.c b/library/ecp.c index 596800a67..b0ef3ca47 100644 --- a/library/ecp.c +++ b/library/ecp.c @@ -2814,7 +2814,6 @@ int mbedtls_ecp_gen_privkey( const mbedtls_ecp_group *grp, */ do { - MBEDTLS_MPI_CHK( mbedtls_mpi_fill_random( d, n_size, f_rng, p_rng ) ); MBEDTLS_MPI_CHK( mbedtls_mpi_shift_r( d, 8 * n_size - grp->nbits ) );