mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 12:40:17 +00:00
FS-10022: [mod_sofia] verify-profile 'none' not parsed for TLS #resolve
This commit is contained in:
parent
f94302dce8
commit
1b3f6492b8
@ -313,6 +313,9 @@ enum tport_tls_verify_policy sofia_glue_str2tls_verify_policy(const char * str){
|
||||
}
|
||||
if (!strncasecmp(ptr_cur, "in",len)) {
|
||||
ret |= TPTLS_VERIFY_IN;
|
||||
} else if (!strncasecmp(ptr_cur, "none",len)) {
|
||||
ret = TPTLS_VERIFY_NONE;
|
||||
break;
|
||||
} else if (!strncasecmp(ptr_cur, "out",len)) {
|
||||
ret |= TPTLS_VERIFY_OUT;
|
||||
} else if (!strncasecmp(ptr_cur, "all",len)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user