Change the comment format of end_of_early_data
Signed-off-by: Xiaokang Qian <xiaokang.qian@arm.com>
diff --git a/library/ssl_tls13_client.c b/library/ssl_tls13_client.c
index 3219425..9dd0570 100644
--- a/library/ssl_tls13_client.c
+++ b/library/ssl_tls13_client.c
@@ -2111,19 +2111,13 @@
/*
* Handler for MBEDTLS_SSL_END_OF_EARLY_DATA
*
- * RFC 8446:
+ * RFC 8446 section 4.5
*
- * If the server sent an "early_data" extension in the EncryptedExtensions
- * message, the client MUST send an EndOfEarlyData message after receiving
- * the server Finished.
- *
- * If the server does not send an "early_data" extension
- * in EncryptedExtensions, then the client MUST NOT send
- * an EndOfEarlyData message.
- */
-
-/* Write end of early data message
* struct {} EndOfEarlyData;
+ *
+ * If the server sent an "early_data" extension in EncryptedExtensions, the
+ * client MUST send an EndOfEarlyData message after receiving the server
+ * Finished. Otherwise, the client MUST NOT send an EndOfEarlyData message.
*/
#define SSL_END_OF_EARLY_DATA_WRITE 0