Changeset 1489
- Timestamp:
- Oct 10, 2007 12:18:27 PM (17 years ago)
- Location:
- pjproject/trunk/pjsip
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsip/sip_config.h
r1473 r1489 617 617 618 618 /** 619 * Specify support for IMS/3GPP digest AKA authentication. 620 * 621 * Default: 0 (disabled for now) 622 */ 623 #ifndef PJSIP_HAS_DIGEST_AKAV1_AUTH 624 # define PJSIP_HAS_DIGEST_AKAV1_AUTH 0 625 #endif 626 627 628 /** 619 629 * @} 620 630 */ -
pjproject/trunk/pjsip/src/pjsip/sip_auth_aka.c
r1488 r1489 25 25 #include <pj/pool.h> 26 26 #include <pj/string.h> 27 28 #if PJSIP_HAS_DIGEST_AKAV1_AUTH 27 29 28 30 #include "../../third_party/milenage/milenage.h" … … 120 122 } 121 123 124 125 #endif /* PJSIP_HAS_DIGEST_AKAV1_AUTH */ 126 -
pjproject/trunk/pjsip/src/pjsip/sip_auth_client.c
r1488 r1489 470 470 */ 471 471 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 472 478 /* Callback must be specified */ 473 479 PJ_ASSERT_RETURN(c[i].ext.aka.cb != NULL, PJ_EINVAL);
Note: See TracChangeset
for help on using the changeset viewer.