mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-31 19:21:18 +00:00
fix unused variable warning
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
ef6b36b484
commit
32cd5b19dc
@ -173,8 +173,9 @@ static int ssl_client_hello_write_partial( mbedtls_ssl_context* ssl,
|
|||||||
* extension list must be kept to write
|
* extension list must be kept to write
|
||||||
* the total extension list size in the end.
|
* the total extension list size in the end.
|
||||||
*/
|
*/
|
||||||
|
#if defined(MBEDTLS_KEY_EXCHANGE_WITH_CERT_ENABLED)
|
||||||
int ret;
|
int ret;
|
||||||
|
#endif /* MBEDTLS_KEY_EXCHANGE_WITH_CERT_ENABLED */
|
||||||
unsigned char* extension_start;
|
unsigned char* extension_start;
|
||||||
size_t cur_ext_len; /* Size of the current extension */
|
size_t cur_ext_len; /* Size of the current extension */
|
||||||
size_t total_ext_len; /* Size of list of extensions */
|
size_t total_ext_len; /* Size of list of extensions */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user