mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-03-24 22:25:11 +00:00
remove useless parentheses
Signed-off-by: Johan Pascal <johan.pascal@belledonne-communications.com>
This commit is contained in:
parent
c3ccd98a91
commit
5fbe9e7ac0
|
@ -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" );
|
||||||
|
|
Loading…
Reference in a new issue