Enforce NULL context for hardcoded RNG
This commit is contained in:
parent
9a12243b01
commit
572d448ab2
18 changed files with 227 additions and 30 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue