mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 12:05:38 +01:00
fix style
Signed-off-by: Johan Pascal <johan.pascal@belledonne-communications.com>
This commit is contained in:
parent
44c0a0a60a
commit
b64eab7656
@ -2091,7 +2091,7 @@ int mbedtls_ssl_write_certificate( mbedtls_ssl_context *ssl )
|
|||||||
#if defined(MBEDTLS_SSL_DTLS_SRTP)
|
#if defined(MBEDTLS_SSL_DTLS_SRTP)
|
||||||
/* check if we have a chosen srtp protection profile */
|
/* check if we have a chosen srtp protection profile */
|
||||||
if( ssl->dtls_srtp_info.chosen_dtls_srtp_profile != MBEDTLS_SRTP_UNSET_PROFILE )
|
if( ssl->dtls_srtp_info.chosen_dtls_srtp_profile != MBEDTLS_SRTP_UNSET_PROFILE )
|
||||||
{
|
{
|
||||||
return( MBEDTLS_ERR_SSL_BAD_HS_CERTIFICATE );
|
return( MBEDTLS_ERR_SSL_BAD_HS_CERTIFICATE );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -1800,7 +1800,7 @@ int main( int argc, char *argv[] )
|
|||||||
opt.skip_close_notify = atoi( q );
|
opt.skip_close_notify = atoi( q );
|
||||||
if( opt.skip_close_notify < 0 || opt.skip_close_notify > 1 )
|
if( opt.skip_close_notify < 0 || opt.skip_close_notify > 1 )
|
||||||
goto usage;
|
goto usage;
|
||||||
}
|
}
|
||||||
else if( strcmp( p, "use_srtp" ) == 0 )
|
else if( strcmp( p, "use_srtp" ) == 0 )
|
||||||
{
|
{
|
||||||
opt.use_srtp = atoi ( q );
|
opt.use_srtp = atoi ( q );
|
||||||
|
Loading…
Reference in New Issue
Block a user