Ignore:
Timestamp:
Oct 15, 2007 7:04:59 AM (17 years ago)
Author:
bennylp
Message:

Continuing ticket #396: tested digest AKAv1, implemented AKAv2, and some works in the authentication framework to support it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c

    r1495 r1500  
    672672            cur_acc->cred_info[cur_acc->cred_count].data_type = PJSIP_CRED_DATA_PLAIN_PASSWD; 
    673673            cur_acc->cred_info[cur_acc->cred_count].data = pj_str(pj_optarg); 
     674#if PJSIP_HAS_DIGEST_AKA_AUTH 
     675            cur_acc->cred_info[cur_acc->cred_count].data_type |= PJSIP_CRED_DATA_EXT_AKA; 
     676            cur_acc->cred_info[cur_acc->cred_count].ext.aka.k = pj_str(pj_optarg); 
     677            cur_acc->cred_info[cur_acc->cred_count].ext.aka.cb = &pjsip_auth_create_aka_response; 
     678#endif 
    674679            break; 
    675680 
Note: See TracChangeset for help on using the changeset viewer.