Changeset 5850 for pjproject/trunk/pjnath/src/pjnath/ice_session.c
- Timestamp:
- Aug 1, 2018 8:34:19 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/src/pjnath/ice_session.c
r5833 r5850 410 410 411 411 if (local_passwd == NULL) { 412 ice->rx_pass.ptr = (char*) pj_pool_alloc(ice->pool, PJ_ICE_ UFRAG_LEN);413 pj_create_random_string(ice->rx_pass.ptr, PJ_ICE_ UFRAG_LEN);414 ice->rx_pass.slen = PJ_ICE_ UFRAG_LEN;412 ice->rx_pass.ptr = (char*) pj_pool_alloc(ice->pool, PJ_ICE_PWD_LEN); 413 pj_create_random_string(ice->rx_pass.ptr, PJ_ICE_PWD_LEN); 414 ice->rx_pass.slen = PJ_ICE_PWD_LEN; 415 415 } else { 416 416 pj_strdup(ice->pool, &ice->rx_pass, local_passwd);
Note: See TracChangeset
for help on using the changeset viewer.