Ignore:
Timestamp:
Mar 19, 2008 11:00:30 PM (16 years ago)
Author:
bennylp
Message:

Related to ticket #485: huge changeset to update STUN relating to managing authentication. See the ticket for the details

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjturn-srv/auth.c

    r1869 r1877  
    5656{ 
    5757    /* Nothing to do */ 
    58 } 
    59  
    60  
    61 PJ_DEF(pj_status_t) pj_turn_get_cred( const pj_stun_msg *msg, 
    62                                       void *user_data, 
    63                                       pj_pool_t *pool, 
    64                                       pj_str_t *realm, 
    65                                       pj_str_t *username, 
    66                                       pj_str_t *nonce, 
    67                                       int *data_type, 
    68                                       pj_str_t *data) 
    69 { 
    70     PJ_UNUSED_ARG(msg); 
    71     PJ_UNUSED_ARG(pool); 
    72     PJ_UNUSED_ARG(user_data); 
    73  
    74     *realm = pj_str(g_realm); 
    75     *username = pj_str(g_cred[0].username); 
    76     *nonce = pj_str(THE_NONCE); 
    77     *data_type = 0; 
    78     *data = pj_str(g_cred[0].passwd); 
    79  
    80     return PJ_SUCCESS; 
    8158} 
    8259 
Note: See TracChangeset for help on using the changeset viewer.