Skip to content

Commit 4726d20

Browse files
Remove unused variable in ssl_server.c
Signed-off-by: Waleed Elmelegy <[email protected]> Signed-off-by: Deomid rojer Ryabkov <[email protected]>
1 parent 716aead commit 4726d20

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

library/ssl_tls12_server.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1057,11 +1057,6 @@ static int ssl_parse_client_hello(mbedtls_ssl_context *ssl)
10571057
MBEDTLS_SSL_DEBUG_MSG(1, ("bad client hello message"));
10581058
return MBEDTLS_ERR_SSL_UNEXPECTED_MESSAGE;
10591059
}
1060-
{
1061-
size_t handshake_len = MBEDTLS_GET_UINT24_BE(buf, 1);
1062-
MBEDTLS_SSL_DEBUG_MSG(3, ("client hello v3, handshake len.: %u",
1063-
(unsigned) handshake_len));
1064-
}
10651060

10661061
#if defined(MBEDTLS_SSL_PROTO_DTLS)
10671062
if (ssl->conf->transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM) {

0 commit comments

Comments
 (0)