Changeset 3943
- Timestamp:
- Jan 17, 2012 7:02:14 AM (13 years ago)
- Location:
- pjproject/branches/1.x
- Files:
-
- 3 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 } -
pjproject/branches/1.x/pjsip-apps/src/symbian_ua/ua.cpp
r3553 r3943 59 59 #define ENABLE_SIP_TLS 0 // experimental 60 60 61 #define TLS_SRV_NAME "pjsip.org" // TLS servername (required for62 // TLS transport)63 64 61 // 65 62 // Configure nameserver if DNS SRV is to be used with both SIP … … 491 488 tcfg.tls_setting.qos_params = tcfg.qos_params; 492 489 } 493 tcfg.tls_setting.server_name = pj_str(TLS_SRV_NAME);494 490 status = pjsua_transport_create(PJSIP_TRANSPORT_TLS, &tcfg, &tid); 495 491 if (status != PJ_SUCCESS) { -
pjproject/branches/1.x/pjsip/include/pjsip/sip_transport_tls.h
r3942 r3943 121 121 */ 122 122 pj_ssl_cipher *ciphers; 123 124 /**125 * Optionally specify the server name instance to be contacted when126 * making outgoing TLS connection. This setting is useful when the127 * server is hosting multiple domains for the same TLS listening128 * socket.129 *130 * Default: empty.131 */132 pj_str_t server_name;133 123 134 124 /**
Note: See TracChangeset
for help on using the changeset viewer.