style
Signed-off-by: Johan Pascal <johan.pascal@belledonne-communications.com>
This commit is contained in:
parent
a455cd9a47
commit
e79c1e8121
3 changed files with 13 additions and 10 deletions
|
@ -1817,8 +1817,8 @@
|
|||
*
|
||||
* Enable support for DTLS-SRTP, RFC5764, use_srtp extension.
|
||||
* \note Only the dtls-srtp key material negotiation is supported.
|
||||
* Once negotiated, the key should be extracted, and data should be transmitted
|
||||
* via an SRTP stack.
|
||||
* Once negotiated, the key should be extracted using mbedtls_ssl_tls_prf()
|
||||
* and data should be transmitted via an SRTP stack.
|
||||
*
|
||||
* Requires: MBEDTLS_SSL_PROTO_DTLS
|
||||
*
|
||||
|
|
|
@ -3190,13 +3190,13 @@ static inline const char *mbedtls_ssl_get_srtp_profile_as_string ( mbedtls_ssl_s
|
|||
switch( profile )
|
||||
{
|
||||
case MBEDTLS_TLS_SRTP_AES128_CM_HMAC_SHA1_80:
|
||||
return "MBEDTLS_TLS_SRTP_AES128_CM_HMAC_SHA1_80";
|
||||
return( "MBEDTLS_TLS_SRTP_AES128_CM_HMAC_SHA1_80" );
|
||||
case MBEDTLS_TLS_SRTP_AES128_CM_HMAC_SHA1_32:
|
||||
return "MBEDTLS_TLS_SRTP_AES128_CM_HMAC_SHA1_32";
|
||||
return( "MBEDTLS_TLS_SRTP_AES128_CM_HMAC_SHA1_32" );
|
||||
case MBEDTLS_TLS_SRTP_NULL_HMAC_SHA1_80:
|
||||
return "MBEDTLS_TLS_SRTP_NULL_HMAC_SHA1_80";
|
||||
return( "MBEDTLS_TLS_SRTP_NULL_HMAC_SHA1_80" );
|
||||
case MBEDTLS_TLS_SRTP_NULL_HMAC_SHA1_32:
|
||||
return "MBEDTLS_TLS_SRTP_NULL_HMAC_SHA1_32";
|
||||
return( "MBEDTLS_TLS_SRTP_NULL_HMAC_SHA1_32" );
|
||||
default: break;
|
||||
}
|
||||
return( "" );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue