Remove unused variable in ssl_server.c

Signed-off-by: Waleed Elmelegy <[email protected]>
Signed-off-by: Deomid rojer Ryabkov <[email protected]>
This commit is contained in:
Waleed Elmelegy
2025-02-05 13:10:01 +02:00
committed by Deomid rojer Ryabkov
parent eb77e5b1c7
commit cf4e6a18e6
-5
View File
@@ -1056,11 +1056,6 @@ read_record_header:
MBEDTLS_SSL_DEBUG_MSG(1, ("bad client hello message"));
return MBEDTLS_ERR_SSL_UNEXPECTED_MESSAGE;
}
{
size_t handshake_len = MBEDTLS_GET_UINT24_BE(buf, 1);
MBEDTLS_SSL_DEBUG_MSG(3, ("client hello v3, handshake len.: %u",
(unsigned) handshake_len));
}
#if defined(MBEDTLS_SSL_PROTO_DTLS)
if (ssl->conf->transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM) {