diff --git a/programs/ssl/ssl_client2.c b/programs/ssl/ssl_client2.c index dd274700c5..54cdd7d32a 100644 --- a/programs/ssl/ssl_client2.c +++ b/programs/ssl/ssl_client2.c @@ -2758,8 +2758,8 @@ int main( int argc, char *argv[] ) mbedtls_dtls_srtp_info 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 - == MBEDTLS_TLS_SRTP_UNSET ) ) + if( dtls_srtp_negotiation_result.chosen_dtls_srtp_profile + == MBEDTLS_TLS_SRTP_UNSET ) { mbedtls_printf( " Unable to negotiate " "the use of DTLS-SRTP\n" ); diff --git a/programs/ssl/ssl_server2.c b/programs/ssl/ssl_server2.c index dcb215d4e2..ec3d6ade58 100644 --- a/programs/ssl/ssl_server2.c +++ b/programs/ssl/ssl_server2.c @@ -3868,8 +3868,8 @@ handshake: mbedtls_dtls_srtp_info 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 - == MBEDTLS_TLS_SRTP_UNSET ) ) + if( dtls_srtp_negotiation_result.chosen_dtls_srtp_profile + == MBEDTLS_TLS_SRTP_UNSET ) { mbedtls_printf( " Unable to negotiate " "the use of DTLS-SRTP\n" );