mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-09-30 05:57:24 +00:00
removed rng parameters from struct mbedtls_ssl_config
Signed-off-by: Ben Taylor <[email protected]>
This commit is contained in:
@@ -1405,10 +1405,6 @@ struct mbedtls_ssl_config {
|
|||||||
void(*MBEDTLS_PRIVATE(f_dbg))(void *, int, const char *, int, const char *);
|
void(*MBEDTLS_PRIVATE(f_dbg))(void *, int, const char *, int, const char *);
|
||||||
void *MBEDTLS_PRIVATE(p_dbg); /*!< context for the debug function */
|
void *MBEDTLS_PRIVATE(p_dbg); /*!< context for the debug function */
|
||||||
|
|
||||||
/** Callback for getting (pseudo-)random numbers */
|
|
||||||
int(*MBEDTLS_PRIVATE(f_rng))(void *, unsigned char *, size_t);
|
|
||||||
void *MBEDTLS_PRIVATE(p_rng); /*!< context for the RNG function */
|
|
||||||
|
|
||||||
/** Callback to retrieve a session from the cache */
|
/** Callback to retrieve a session from the cache */
|
||||||
mbedtls_ssl_cache_get_t *MBEDTLS_PRIVATE(f_get_cache);
|
mbedtls_ssl_cache_get_t *MBEDTLS_PRIVATE(f_get_cache);
|
||||||
/** Callback to store a session into the cache */
|
/** Callback to store a session into the cache */
|
||||||
|
|||||||
Reference in New Issue
Block a user