remove flag

This commit is contained in:
Anthony Minessale 2013-05-17 16:13:19 -05:00
parent e03b6d0878
commit 2bafe135c0
2 changed files with 0 additions and 6 deletions

View File

@ -1292,7 +1292,6 @@ typedef enum {
CF_MEDIA_TRANS,
CF_HOLD_ON_BRIDGE,
CF_SECURE,
CF_CRYPTO_RECOVER,
CF_LIBERAL_DTMF,
CF_SLA_BARGE,
CF_SLA_BARGING,

View File

@ -775,7 +775,6 @@ static void switch_core_session_get_recovery_crypto_key(switch_core_session_t *s
engine->ssec.crypto_tag = 1;
}
switch_channel_set_flag(session->channel, CF_CRYPTO_RECOVER);
switch_channel_set_flag(session->channel, CF_SECURE);
}
}
@ -835,10 +834,6 @@ SWITCH_DECLARE(int) switch_core_session_check_incoming_crypto(switch_core_sessio
/* Change our key every time we can */
if (switch_channel_test_flag(session->channel, CF_CRYPTO_RECOVER)) {
switch_channel_clear_flag(session->channel, CF_CRYPTO_RECOVER);
}
if (sdp_type == SDP_TYPE_REQUEST) {
if (switch_stristr(SWITCH_RTP_CRYPTO_KEY_32, crypto)) {
switch_channel_set_variable(session->channel, varname, SWITCH_RTP_CRYPTO_KEY_32);