diff --git a/library/ecp.c b/library/ecp.c index d4bf54310..d317de5d0 100644 --- a/library/ecp.c +++ b/library/ecp.c @@ -2735,7 +2735,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 ) );