mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-25 02:02:03 +03:00
Allocate ssl_config out of ssl_setup()
This commit is contained in:
@ -1164,11 +1164,13 @@ void mbedtls_ssl_init( mbedtls_ssl_context *ssl );
|
||||
* \brief Set up an SSL context for use
|
||||
*
|
||||
* \param ssl SSL context
|
||||
* \param conf SSL configuration to use
|
||||
*
|
||||
* \return 0 if successful, or MBEDTLS_ERR_SSL_MALLOC_FAILED if
|
||||
* memory allocation failed
|
||||
*/
|
||||
int mbedtls_ssl_setup( mbedtls_ssl_context *ssl );
|
||||
int mbedtls_ssl_setup( mbedtls_ssl_context *ssl,
|
||||
mbedtls_ssl_config *conf );
|
||||
|
||||
/**
|
||||
* \brief Reset an already initialized SSL context for re-use
|
||||
|
Reference in New Issue
Block a user