1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-28 00:21:48 +03:00

fix several typos and extra blank spaces

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
This commit is contained in:
Valerio Setti
2023-01-09 17:30:01 +01:00
parent 2b5d3ded1f
commit 1e868ccbac
4 changed files with 19 additions and 19 deletions

View File

@ -1620,7 +1620,7 @@ uint16_t mbedtls_ssl_get_tls_id_from_ecp_group_id( mbedtls_ecp_group_id grp_id )
*
* \param tls_id The TLS ID to look for
* \return A pointer to a const string with the proper name. If TLS
* ID is not suppoted, a NULL pointer is returned instead.
* ID is not supported, a NULL pointer is returned instead.
*/
const char* mbedtls_ssl_get_curve_name_from_tls_id( uint16_t tls_id );
#endif

View File

@ -2125,8 +2125,8 @@ static int ssl_get_ecdh_params_from_cert( mbedtls_ssl_context *ssl )
return( MBEDTLS_ERR_SSL_ILLEGAL_PARAMETER );
}
/* If the above conversion to TLS ID was fine, then also this one will be,
so there is no need to check the retun value here */
/* If the above conversion to TLS ID was fine, then also this one will be,
so there is no need to check the return value here */
mbedtls_ssl_get_psa_curve_info_from_tls_id( tls_id, &ecc_family,
&ssl->handshake->ecdh_bits );

View File

@ -2712,7 +2712,7 @@ static int ssl_get_ecdh_params_from_cert( mbedtls_ssl_context *ssl )
}
/* If the above conversion to TLS ID was fine, then also this one will
be, so there is no need to check the retun value here */
be, so there is no need to check the return value here */
mbedtls_ssl_get_psa_curve_info_from_tls_id( tls_id, &ecc_family,
&ssl->handshake->ecdh_bits );