Merge ea808c2cb8
into 5cb74797fe
This commit is contained in:
commit
f5bdd3ffcc
|
@ -1647,7 +1647,7 @@ static void switch_core_session_parse_crypto_prefs(switch_core_session_t *sessio
|
||||||
int ok = 0;
|
int ok = 0;
|
||||||
|
|
||||||
for (j = 0; j < CRYPTO_INVALID; j++) {
|
for (j = 0; j < CRYPTO_INVALID; j++) {
|
||||||
if (!strcasecmp(fields[i], SUITES[j].name)) {
|
if (!strcasecmp(fields[i], SUITES[j].name) || !strcasecmp(fields[i], SUITES[j].alias)) {
|
||||||
smh->crypto_suite_order[k++] = SUITES[j].type;
|
smh->crypto_suite_order[k++] = SUITES[j].type;
|
||||||
ok++;
|
ok++;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue