mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2026-04-04 14:08:39 +00:00
Do not return a structure, use a return parameter
Signed-off-by: Johan Pascal <johan.pascal@belledonne-communications.com>
This commit is contained in:
parent
0dbcd1d3f0
commit
2258a4f481
4 changed files with 30 additions and 29 deletions
|
|
@ -2754,8 +2754,8 @@ int main( int argc, char *argv[] )
|
|||
else if( opt.use_srtp != 0 )
|
||||
{
|
||||
size_t j = 0;
|
||||
mbedtls_dtls_srtp_info dtls_srtp_negotiation_result =
|
||||
mbedtls_ssl_get_dtls_srtp_negotiation_result( &ssl );
|
||||
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 ) )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue