Fix style issue and wording
diff --git a/library/ssl_tls.c b/library/ssl_tls.c
index 13cb22b..4fa1932 100644
--- a/library/ssl_tls.c
+++ b/library/ssl_tls.c
@@ -5448,7 +5448,7 @@
if( peer_crt->raw.len != crt_buf_len )
return( -1 );
- return( memcmp( peer_crt->raw.p, crt_buf, crt_buf_len) );
+ return( memcmp( peer_crt->raw.p, crt_buf, crt_buf_len ) );
}
#endif /* MBEDTLS_SSL_RENEGOTIATION && MBEDTLS_SSL_CLI_C */
@@ -5592,10 +5592,10 @@
/* Check if we're handling the first CRT in the chain. */
if( ssl->session_negotiate->peer_cert == NULL )
{
- /* During client-side renegotiation, check the server's end-CRTs
- * hasn't changed compared to the initial handshake, mitigating
- * the triple handshake attack. On success, reuse the original
- * end-CRT instead of parsing it again. */
+ /* During client-side renegotiation, check that the server's
+ * end-CRTs hasn't changed compared to the initial handshake,
+ * mitigating the triple handshake attack. On success, reuse
+ * the original end-CRT instead of parsing it again. */
#if defined(MBEDTLS_SSL_RENEGOTIATION) && defined(MBEDTLS_SSL_CLI_C)
if( ssl->conf->endpoint == MBEDTLS_SSL_IS_CLIENT &&
ssl->renego_status == MBEDTLS_SSL_RENEGOTIATION_IN_PROGRESS )