Review corrections 3
-Remove additional trace cause by rebase
-Update remaining 16/24/32-bit values to use functions, this uses
additional 36 bytes.
diff --git a/library/ssl_ticket.c b/library/ssl_ticket.c
index eeaeb52..69e14cf 100644
--- a/library/ssl_ticket.c
+++ b/library/ssl_ticket.c
@@ -298,7 +298,7 @@
if( ( ret = ssl_ticket_update_keys( ctx ) ) != 0 )
goto cleanup;
- enc_len = ( enc_len_p[0] << 8 ) | enc_len_p[1];
+ enc_len = mbedtls_platform_get_uint16_be( enc_len_p );
tag = ticket + enc_len;
if( len != 4 + 12 + 2 + enc_len + 16 )