]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
another crypto regression
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 7 Mar 2014 03:34:39 +0000 (08:34 +0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 7 Mar 2014 03:34:39 +0000 (08:34 +0500)
src/switch_core_media.c

index a9a7c158f9ee460282da1bc24eb8e91cbb81b046..3c3e267aaa4334c8132933724ff12255c89acdd9 100644 (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);
        }