Ignore:
Timestamp:
May 23, 2007 7:05:59 AM (12 years ago)
Author:
bennylp
Message:

Ticket #287: selectively disable authentication for several STUN error responses

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/include/pjnath/stun_auth.h

    r1275 r1290  
    296296 
    297297/** 
     298 * Determine if STUN message can be authenticated. Some STUN error 
     299 * responses cannot be authenticated since they cannot contain STUN 
     300 * MESSAGE-INTEGRITY attribute. STUN Indication messages also cannot 
     301 * be authenticated. 
     302 * 
     303 * @param msg           The STUN message. 
     304 * 
     305 * @return              Non-zero if the STUN message can be authenticated. 
     306 */ 
     307PJ_DECL(pj_bool_t) pj_stun_auth_valid_for_msg(const pj_stun_msg *msg); 
     308 
     309 
     310/** 
    298311 * Verify credential in the STUN response. Note that before calling this 
    299312 * function, application must have checked that the message contains 
Note: See TracChangeset for help on using the changeset viewer.