another crypto regression

This commit is contained in:
Anthony Minessale 2014-03-07 08:34:39 +05:00
parent 0da8c6331d
commit b8e4a66dd2
1 changed files with 1 additions and 1 deletions

View File

@ -4749,7 +4749,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_media_activate_rtp(switch_core_sessi
switch_rtp_reset_media_timer(a_engine->rtp_session);
}
if (a_engine->crypto_type) {
if (a_engine->crypto_type != CRYPTO_INVALID) {
switch_channel_set_flag(session->channel, CF_SECURE);
}