fix style

Signed-off-by: Johan Pascal <johan.pascal@belledonne-communications.com>
This commit is contained in:
Johan Pascal 2020-04-24 02:53:49 +07:00
parent 44c0a0a60a
commit b64eab7656
2 changed files with 2 additions and 2 deletions

View File

@ -2091,7 +2091,7 @@ int mbedtls_ssl_write_certificate( mbedtls_ssl_context *ssl )
#if defined(MBEDTLS_SSL_DTLS_SRTP)
/* check if we have a chosen srtp protection profile */
if( ssl->dtls_srtp_info.chosen_dtls_srtp_profile != MBEDTLS_SRTP_UNSET_PROFILE )
{
{
return( MBEDTLS_ERR_SSL_BAD_HS_CERTIFICATE );
}
else

View File

@ -1800,7 +1800,7 @@ int main( int argc, char *argv[] )
opt.skip_close_notify = atoi( q );
if( opt.skip_close_notify < 0 || opt.skip_close_notify > 1 )
goto usage;
}
}
else if( strcmp( p, "use_srtp" ) == 0 )
{
opt.use_srtp = atoi ( q );