mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-27 00:21:07 +00:00
Minor documentation improvement to ssl_rsa_encrypt_partial_pms()
This commit is contained in:
parent
084694dd57
commit
aa49620f6e
|
@ -2371,8 +2371,8 @@ static int ssl_rsa_generate_partial_pms( mbedtls_ssl_context *ssl,
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Encrypt the Premaster Secret it with the server's RSA key and
|
* Encrypt the randomly chosen part of the Premaster Secret with the
|
||||||
* write it to the provided buffer.
|
* server's RSA key and write it to the provided buffer.
|
||||||
*/
|
*/
|
||||||
static int ssl_rsa_encrypt_partial_pms( mbedtls_ssl_context *ssl,
|
static int ssl_rsa_encrypt_partial_pms( mbedtls_ssl_context *ssl,
|
||||||
unsigned char const *ppms,
|
unsigned char const *ppms,
|
||||||
|
@ -2418,7 +2418,7 @@ static int ssl_rsa_encrypt_partial_pms( mbedtls_ssl_context *ssl,
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* 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 ) )
|
if( ! mbedtls_pk_can_do( peer_pk, MBEDTLS_PK_RSA ) )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue