From: Anthony Minessale Date: Fri, 7 Mar 2014 03:34:39 +0000 (+0500) Subject: another crypto regression X-Git-Tag: v1.5.11~108 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8e4a66dd282fd7989d6fa187acca7045a4c6284;p=thirdparty%2Ffreeswitch.git another crypto regression --- 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); }