mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-03-11 04:42:58 +00:00
Make conf const inside ssl_context (finally)
This commit is contained in:
@@ -945,7 +945,7 @@ mbedtls_ssl_config;
|
||||
|
||||
struct mbedtls_ssl_context
|
||||
{
|
||||
mbedtls_ssl_config *conf; /*!< configuration information */
|
||||
const mbedtls_ssl_config *conf; /*!< configuration information */
|
||||
|
||||
/*
|
||||
* Miscellaneous
|
||||
@@ -1157,7 +1157,7 @@ void mbedtls_ssl_init( mbedtls_ssl_context *ssl );
|
||||
* memory allocation failed
|
||||
*/
|
||||
int mbedtls_ssl_setup( mbedtls_ssl_context *ssl,
|
||||
mbedtls_ssl_config *conf );
|
||||
const mbedtls_ssl_config *conf );
|
||||
|
||||
/**
|
||||
* \brief Reset an already initialized SSL context for re-use
|
||||
|
||||
Reference in New Issue
Block a user