From b8e4a66dd282fd7989d6fa187acca7045a4c6284 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 7 Mar 2014 08:34:39 +0500 Subject: [PATCH] another crypto regression --- src/switch_core_media.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_core_media.c b/src/switch_core_media.c index a9a7c158f9..3c3e267aaa 100644 --- a/src/switch_core_media.c +++ b/src/switch_core_media.c @@ -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); }