Enforce NULL context for hardcoded RNG

This commit is contained in:
Hanno Becker 2019-07-23 13:47:53 +01:00
parent 9a12243b01
commit 572d448ab2
18 changed files with 227 additions and 30 deletions

View file

@ -8510,12 +8510,6 @@ void mbedtls_ssl_conf_rng( mbedtls_ssl_config *conf,
conf->f_rng = f_rng;
conf->p_rng = p_rng;
}
#else
void mbedtls_ssl_conf_rng_ctx( mbedtls_ssl_config *conf,
void *p_rng )
{
conf->p_rng = p_rng;
}
#endif
#if defined(MBEDTLS_DEBUG_C)