mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-02-03 00:10:58 +00:00
Fix two typos in comments
This commit is contained in:
parent
587c1ae195
commit
8793fab635
|
@ -3330,7 +3330,7 @@ static int ssl_parse_server_hello_done( mbedtls_ssl_context *ssl )
|
||||||
static int ssl_process_client_key_exchange( mbedtls_ssl_context *ssl );
|
static int ssl_process_client_key_exchange( mbedtls_ssl_context *ssl );
|
||||||
|
|
||||||
/* Preparation
|
/* Preparation
|
||||||
* - For ECDH: Generate client params and derive premater secret
|
* - For ECDH: Generate client params and derive premaster secret
|
||||||
* - For RSA-suites: Encrypt PMS
|
* - For RSA-suites: Encrypt PMS
|
||||||
* - For ECJPAKE: Do Round 2
|
* - For ECJPAKE: Do Round 2
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1743,7 +1743,7 @@ int mbedtls_ssl_build_pms( mbedtls_ssl_context *ssl )
|
||||||
== MBEDTLS_KEY_EXCHANGE_RSA )
|
== MBEDTLS_KEY_EXCHANGE_RSA )
|
||||||
{
|
{
|
||||||
((void) ret);
|
((void) ret);
|
||||||
/* The premaster secret has already been by
|
/* The premaster secret has already been set by
|
||||||
* ssl_rsa_generate_partial_pms(). Only the
|
* ssl_rsa_generate_partial_pms(). Only the
|
||||||
* PMS length needs to be set. */
|
* PMS length needs to be set. */
|
||||||
ssl->handshake->pmslen = 48;
|
ssl->handshake->pmslen = 48;
|
||||||
|
|
Loading…
Reference in a new issue