Add the SRTP configuration to query_config

Add the DTLS_SRTP configuration to `query_config`.

Signed-off-by: Johan Pascal <johan.pascal@belledonne-communications.com>
This commit is contained in:
Ron Eldor 2019-09-26 16:43:03 +03:00 committed by Johan Pascal
parent 65b56ef87f
commit 8f284c1b05

View File

@ -1480,6 +1480,14 @@ int query_config( const char *config )
}
#endif /* MBEDTLS_SSL_DTLS_HELLO_VERIFY */
#if defined(MBEDTLS_SSL_DTLS_SRTP)
if( strcmp( "MBEDTLS_SSL_DTLS_SRTP", config ) == 0 )
{
MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_DTLS_SRTP );
return( 0 );
}
#endif /* MBEDTLS_SSL_DTLS_SRTP */
#if defined(MBEDTLS_SSL_DTLS_CLIENT_PORT_REUSE)
if( strcmp( "MBEDTLS_SSL_DTLS_CLIENT_PORT_REUSE", config ) == 0 )
{