Ignore:
Timestamp:
Aug 1, 2018 8:34:19 AM (6 years ago)
Author:
ming
Message:

Fixed #2136: Increase default ICE password length as mandated by the RFC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjnath/ice_session.c

    r5833 r5850  
    410410 
    411411    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; 
    415415    } else { 
    416416        pj_strdup(ice->pool, &ice->rx_pass, local_passwd); 
Note: See TracChangeset for help on using the changeset viewer.