fix undeclared variable error
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
# Conflicts:
# library/ssl_tls13_client.c
diff --git a/library/ssl_tls13_client.c b/library/ssl_tls13_client.c
index 41b1334..a03aa8e 100644
--- a/library/ssl_tls13_client.c
+++ b/library/ssl_tls13_client.c
@@ -112,7 +112,7 @@
unsigned char *buf, size_t buflen,
size_t *len_with_binders )
{
- /* Extensions */
+ /* Extensions */
/* extension_start
* Used during extension writing where the
@@ -120,9 +120,7 @@
* extension list must be kept to write
* the total extension list size in the end.
*/
-#if defined(MBEDTLS_KEY_EXCHANGE_WITH_CERT_ENABLED)
int ret;
-#endif /* MBEDTLS_KEY_EXCHANGE_WITH_CERT_ENABLED */
unsigned char* extension_start;
size_t cur_ext_len; /* Size of the current extension */
size_t total_ext_len; /* Size of list of extensions */