Rename TLS 1.3 padding granularity macro
This is to avoid confusion with the class of macros
MBEDTLS_SSL_PROTO_TLS1_X
which have an underscore between major and minor version number.
Signed-off-by: Hanno Becker <hanno.becker@arm.com>
diff --git a/include/mbedtls/config.h b/include/mbedtls/config.h
index 874cfb7..9ba566e 100644
--- a/include/mbedtls/config.h
+++ b/include/mbedtls/config.h
@@ -3554,7 +3554,7 @@
*/
//#define MBEDTLS_SSL_CID_PADDING_GRANULARITY 16
-/** \def MBEDTLS_SSL_TLS13_PADDING_GRANULARITY
+/** \def MBEDTLS_SSL_TLS1_3_PADDING_GRANULARITY
*
* This option controls the use of record plaintext padding
* in TLS 1.3.
@@ -3568,7 +3568,7 @@
* Note: On systems lacking division instructions,
* a power of two should be preferred.
*/
-//#define MBEDTLS_SSL_TLS13_PADDING_GRANULARITY 1
+//#define MBEDTLS_SSL_TLS1_3_PADDING_GRANULARITY 1
/** \def MBEDTLS_SSL_OUT_CONTENT_LEN
*
diff --git a/include/mbedtls/ssl.h b/include/mbedtls/ssl.h
index 2e552b8..65424d6 100644
--- a/include/mbedtls/ssl.h
+++ b/include/mbedtls/ssl.h
@@ -277,8 +277,8 @@
#define MBEDTLS_SSL_CID_PADDING_GRANULARITY 16
#endif
-#if !defined(MBEDTLS_SSL_TLS13_PADDING_GRANULARITY)
-#define MBEDTLS_SSL_TLS13_PADDING_GRANULARITY 1
+#if !defined(MBEDTLS_SSL_TLS1_3_PADDING_GRANULARITY)
+#define MBEDTLS_SSL_TLS1_3_PADDING_GRANULARITY 1
#endif
/* \} name SECTION: Module settings */