Changeset 3943 for pjproject/branches/1.x/pjsip-apps/src/pjsua/pjsua_app.c
- Timestamp:
- Jan 17, 2012 7:02:14 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/1.x/pjsip-apps/src/pjsua/pjsua_app.c
r3942 r3943 535 535 OPT_USE_TLS, OPT_TLS_CA_FILE, OPT_TLS_CERT_FILE, OPT_TLS_PRIV_FILE, 536 536 OPT_TLS_PASSWORD, OPT_TLS_VERIFY_SERVER, OPT_TLS_VERIFY_CLIENT, 537 OPT_TLS_NEG_TIMEOUT, OPT_TLS_ SRV_NAME, OPT_TLS_CIPHER,537 OPT_TLS_NEG_TIMEOUT, OPT_TLS_CIPHER, 538 538 OPT_CAPTURE_DEV, OPT_PLAYBACK_DEV, 539 539 OPT_CAPTURE_LAT, OPT_PLAYBACK_LAT, OPT_NO_TONES, OPT_JB_MAX_SIZE, … … 643 643 { "tls-verify-client", 0, 0, OPT_TLS_VERIFY_CLIENT}, 644 644 { "tls-neg-timeout", 1, 0, OPT_TLS_NEG_TIMEOUT}, 645 { "tls-srv-name", 1, 0, OPT_TLS_SRV_NAME},646 645 { "tls-cipher", 1, 0, OPT_TLS_CIPHER}, 647 646 #endif … … 1346 1345 break; 1347 1346 1348 case OPT_TLS_SRV_NAME:1349 cfg->udp_cfg.tls_setting.server_name = pj_str(pj_optarg);1350 break;1351 1347 case OPT_TLS_CIPHER: 1352 1348 { … … 1827 1823 (int)config->udp_cfg.tls_setting.password.slen, 1828 1824 config->udp_cfg.tls_setting.password.ptr); 1829 pj_strcat2(&cfg, line);1830 }1831 1832 if (config->udp_cfg.tls_setting.server_name.slen) {1833 pj_ansi_sprintf(line, "--tls-srv-name %.*s\n",1834 (int)config->udp_cfg.tls_setting.server_name.slen,1835 config->udp_cfg.tls_setting.server_name.ptr);1836 1825 pj_strcat2(&cfg, line); 1837 1826 }
Note: See TracChangeset
for help on using the changeset viewer.