Minor documentation improvement to ssl_rsa_encrypt_partial_pms()
diff --git a/library/ssl_cli.c b/library/ssl_cli.c
index b38c2a3..aea5f12 100644
--- a/library/ssl_cli.c
+++ b/library/ssl_cli.c
@@ -2371,8 +2371,8 @@
}
/*
- * Encrypt the Premaster Secret it with the server's RSA key and
- * write it to the provided buffer.
+ * Encrypt the randomly chosen part of the Premaster Secret with the
+ * server's RSA key and write it to the provided buffer.
*/
static int ssl_rsa_encrypt_partial_pms( mbedtls_ssl_context *ssl,
unsigned char const *ppms,
@@ -2418,7 +2418,7 @@
}
/*
- * Encrypt the part of the premaster secret and write it out.
+ * Encrypt the partial premaster secret and write it out.
*/
if( ! mbedtls_pk_can_do( peer_pk, MBEDTLS_PK_RSA ) )
{