mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
remove useless parentheses
Signed-off-by: Johan Pascal <johan.pascal@belledonne-communications.com>
This commit is contained in:
@ -2758,8 +2758,8 @@ int main( int argc, char *argv[] )
|
|||||||
mbedtls_dtls_srtp_info dtls_srtp_negotiation_result;
|
mbedtls_dtls_srtp_info dtls_srtp_negotiation_result;
|
||||||
mbedtls_ssl_get_dtls_srtp_negotiation_result( &ssl, &dtls_srtp_negotiation_result );
|
mbedtls_ssl_get_dtls_srtp_negotiation_result( &ssl, &dtls_srtp_negotiation_result );
|
||||||
|
|
||||||
if( ( dtls_srtp_negotiation_result.chosen_dtls_srtp_profile
|
if( dtls_srtp_negotiation_result.chosen_dtls_srtp_profile
|
||||||
== MBEDTLS_TLS_SRTP_UNSET ) )
|
== MBEDTLS_TLS_SRTP_UNSET )
|
||||||
{
|
{
|
||||||
mbedtls_printf( " Unable to negotiate "
|
mbedtls_printf( " Unable to negotiate "
|
||||||
"the use of DTLS-SRTP\n" );
|
"the use of DTLS-SRTP\n" );
|
||||||
|
@ -3868,8 +3868,8 @@ handshake:
|
|||||||
mbedtls_dtls_srtp_info dtls_srtp_negotiation_result;
|
mbedtls_dtls_srtp_info dtls_srtp_negotiation_result;
|
||||||
mbedtls_ssl_get_dtls_srtp_negotiation_result( &ssl, &dtls_srtp_negotiation_result );
|
mbedtls_ssl_get_dtls_srtp_negotiation_result( &ssl, &dtls_srtp_negotiation_result );
|
||||||
|
|
||||||
if( ( dtls_srtp_negotiation_result.chosen_dtls_srtp_profile
|
if( dtls_srtp_negotiation_result.chosen_dtls_srtp_profile
|
||||||
== MBEDTLS_TLS_SRTP_UNSET ) )
|
== MBEDTLS_TLS_SRTP_UNSET )
|
||||||
{
|
{
|
||||||
mbedtls_printf( " Unable to negotiate "
|
mbedtls_printf( " Unable to negotiate "
|
||||||
"the use of DTLS-SRTP\n" );
|
"the use of DTLS-SRTP\n" );
|
||||||
|
Reference in New Issue
Block a user