mirror of
https://github.com/espressif/mbedtls.git
synced 2026-08-05 19:17:47 +00:00
Minor improvements in ssl_client.c
Signed-off-by: David Horstmann <[email protected]>
This commit is contained in:
@@ -794,7 +794,8 @@ static int ssl_prepare_client_hello( mbedtls_ssl_context *ssl )
|
||||
*/
|
||||
int renegotiating = 0;
|
||||
#if defined(MBEDTLS_SSL_RENEGOTIATION)
|
||||
renegotiating = ( ssl->renego_status != MBEDTLS_SSL_INITIAL_HANDSHAKE );
|
||||
if( ssl->renego_status != MBEDTLS_SSL_INITIAL_HANDSHAKE )
|
||||
renegotiating = 1;
|
||||
#endif
|
||||
if( !renegotiating )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user