Ignore:
Timestamp:
Oct 10, 2007 12:18:27 PM (12 years ago)
Author:
bennylp
Message:

Continuing ticket #396: added PJSIP_HAS_DIGEST_AKAv1_AUTH to enable AKA support. Default is disabled, for now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_auth_client.c

    r1488 r1489  
    470470             */ 
    471471            if ((c[i].data_type & EXT_MASK) == PJSIP_CRED_DATA_EXT_AKA) { 
     472 
     473#if !PJSIP_HAS_DIGEST_AKAV1_AUTH 
     474                pj_assert(!"PJSIP_HAS_DIGEST_AKAV1_AUTH is not enabled"); 
     475                return PJSIP_EAUTHINAKACRED; 
     476#endif 
     477 
    472478                /* Callback must be specified */ 
    473479                PJ_ASSERT_RETURN(c[i].ext.aka.cb != NULL, PJ_EINVAL); 
Note: See TracChangeset for help on using the changeset viewer.