Improve and align variable names for supported versions data
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
diff --git a/library/ssl_tls13_client.c b/library/ssl_tls13_client.c
index 6cf47fe..58d66cd 100644
--- a/library/ssl_tls13_client.c
+++ b/library/ssl_tls13_client.c
@@ -1324,8 +1324,8 @@
{
const unsigned char *p = buf;
size_t legacy_session_id_echo_len;
- const unsigned char *supported_versions_ext;
- const unsigned char *supported_versions_ext_end;
+ const unsigned char *supported_versions_data;
+ const unsigned char *supported_versions_data_end;
/*
* Check there is enough data to access the legacy_session_id_echo vector
@@ -1349,7 +1349,7 @@
return mbedtls_ssl_tls13_is_supported_versions_ext_present_in_exts(
ssl, p, end,
- &supported_versions_ext, &supported_versions_ext_end);
+ &supported_versions_data, &supported_versions_data_end);
}
/* Returns a negative value on failure, and otherwise