Remove TinyCrypt PRNG configuration from ssl_cli.c

The TinyCrypt PRNG is configured in mbedtls_ssl_setup().
This commit is contained in:
Hanno Becker 2019-08-20 14:04:38 +01:00
parent fdd294a79f
commit 1521ec501c

View File

@ -3974,11 +3974,6 @@ sign:
rs_ctx = &ssl->handshake->ecrs_ctx.pk;
#endif
#if defined(MBEDTLS_USE_TINYCRYPT)
if ( uECC_get_rng() == 0 )
uECC_set_rng(&mbetls_uecc_rng_wrapper);
#endif
if( ( ret = mbedtls_pk_sign_restartable( mbedtls_ssl_own_key( ssl ),
md_alg, hash_start, hashlen,
ssl->out_msg + 6 + offset, &n,