mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 23:45:49 +01:00
Explain why RNG ctx parameter is kept in MBEDTLS_SSL_CONF_RNG
This commit is contained in:
parent
665d698972
commit
0f36e7bfa3
@ -3670,6 +3670,9 @@
|
||||
* int f_rng(void *, unsigned char *, size_t),
|
||||
* which ignores its first parameter (the stack will always
|
||||
* pass NULL to this function).
|
||||
* NB: The reason not to drop the context parameter entirely
|
||||
* is for compatibility with the Crypto and X.509 libraries
|
||||
* which use RNG callbacks including context parameters.
|
||||
*/
|
||||
//#define MBEDTLS_SSL_CONF_RNG rng_wrap
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user