提交 1d733235 authored 作者: Anthony Minessale's avatar Anthony Minessale

remove unused stuff from last commit

上级 e5b29151
......@@ -188,8 +188,6 @@ struct switch_media_handle_s {
switch_rtp_crypto_mode_t crypto_mode;
switch_rtp_crypto_key_type_t crypto_suite_order[CRYPTO_INVALID+1];
uint8_t crypto_suite_enabled[CRYPTO_INVALID+1];
};
......@@ -1123,7 +1121,6 @@ static void switch_core_session_parse_crypto_prefs(switch_core_session_t *sessio
for (j = 0; j < CRYPTO_INVALID; j++) {
if (!strcasecmp(fields[i], SUITES[j].name)) {
smh->crypto_suite_order[k++] = SUITES[j].type;
smh->crypto_suite_enabled[SUITES[i].type] = 1;
ok++;
break;
}
......@@ -1137,7 +1134,6 @@ static void switch_core_session_parse_crypto_prefs(switch_core_session_t *sessio
} else {
for (i = 0; i < CRYPTO_INVALID; i++) {
smh->crypto_suite_order[k++] = SUITES[i].type;
smh->crypto_suite_enabled[SUITES[i].type] = 1;
}
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论