Replace hard-coded zeroes for constant
Replace two occurances of hard-coded zero for
MBEDTLS_SSL_COMPRESS_NULL in TLS 1.3 code.
Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
diff --git a/library/ssl_tls13_server.c b/library/ssl_tls13_server.c
index 701d044..4319ec3 100644
--- a/library/ssl_tls13_server.c
+++ b/library/ssl_tls13_server.c
@@ -1779,7 +1779,7 @@
* ...
*/
MBEDTLS_SSL_CHK_BUF_PTR( p, end, 1 );
- *p++ = 0x0;
+ *p++ = MBEDTLS_SSL_COMPRESS_NULL;
/* ...
* Extension extensions<6..2^16-1>;