mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-07 06:42:56 +03:00
Keep track of whether mbedtls_ssl_set_hostname() has been called
No behavior change apart from now emitting a different log message depending on whether mbedtls_ssl_set_hostname() has been called with NULL or not at all. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
@@ -1671,6 +1671,8 @@ struct mbedtls_ssl_context {
|
||||
int MBEDTLS_PRIVATE(state); /*!< SSL handshake: current state */
|
||||
|
||||
/** Mask of `MBEDTLS_SSL_CONTEXT_FLAG_XXX`.
|
||||
* See `mbedtls_ssl_context_flags_t` in ssl_misc.h.
|
||||
*
|
||||
* This field is not saved by mbedtls_ssl_session_save().
|
||||
*/
|
||||
uint32_t MBEDTLS_PRIVATE(flags);
|
||||
|
Reference in New Issue
Block a user