mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-05-10 00:49:04 +08:00
fix format and comment issues
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
b25d10f153
commit
6cf6b47b5c
@ -359,7 +359,7 @@ int mbedtls_ssl_tls13_evolve_secret(
|
||||
|
||||
ret = 0;
|
||||
|
||||
if( ( input != NULL ) && ( input_len != 0 ) )
|
||||
if( input != NULL && input_len != 0 )
|
||||
{
|
||||
memcpy( tmp_input, input, input_len );
|
||||
ilen = input_len;
|
||||
|
@ -693,12 +693,12 @@ MBEDTLS_CHECK_RETURN_CRITICAL
|
||||
int mbedtls_ssl_tls13_compute_application_transform( mbedtls_ssl_context *ssl );
|
||||
|
||||
/**
|
||||
* \brief Export TLS 1.3 PSK key from handshake context
|
||||
* \brief Export TLS 1.3 PSK from handshake context
|
||||
*
|
||||
* \param ssl The SSL context to operate on.
|
||||
* \param psk PSK key output pointer.
|
||||
* \param psk PSK output pointer.
|
||||
* \param psk_len
|
||||
* Length of PSK key.
|
||||
* Length of PSK.
|
||||
*
|
||||
* \returns \c 0 on success.
|
||||
* \returns A negative error code on failure.
|
||||
|
@ -1057,9 +1057,9 @@ static int ssl_tls13_parse_client_hello( mbedtls_ssl_context *ssl,
|
||||
ciphersuite_info == NULL ?
|
||||
"Unkown": ciphersuite_info->name ) );
|
||||
}
|
||||
#else
|
||||
#else /* MBEDTLS_DEBUG_C */
|
||||
p = cipher_suites_end;
|
||||
#endif /* MBEDTLS_DEBUG_C */
|
||||
#endif /* !MBEDTLS_DEBUG_C */
|
||||
|
||||
/* ...
|
||||
* opaque legacy_compression_methods<1..2^8-1>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user