1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

unconditional mbedtls_ssl_conf_rng

This commit is contained in:
Philippe Antoine
2019-06-19 15:19:38 +02:00
parent 738153a048
commit b94cf822f3
2 changed files with 2 additions and 8 deletions

View File

@ -2827,10 +2827,7 @@ int main( int argc, char *argv[] )
#endif
#endif
}
else
{
mbedtls_ssl_conf_rng( &conf, mbedtls_ctr_drbg_random, &ctr_drbg );
}
mbedtls_ssl_conf_rng( &conf, mbedtls_ctr_drbg_random, &ctr_drbg );
mbedtls_ssl_conf_dbg( &conf, my_debug, stdout );
#if defined(MBEDTLS_SSL_CACHE_C)