Ignore:
Timestamp:
Nov 11, 2005 7:01:31 PM (18 years ago)
Author:
bennylp
Message:

First clean compile of pjsip

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/main/pjsip/src/pjsip/sip_auth.c

    • Property svn:keywords set to Id
    r3 r43  
    11/* $Id$ 
    2  * 
    32 */ 
    43#include <pjsip/sip_auth.h> 
     
    65#include <pjsip/sip_transport.h> 
    76#include <pjsip/sip_endpoint.h> 
    8 #include <pj/md5.h> 
     7#include <pjlib-util/md5.h> 
    98#include <pj/log.h> 
    109#include <pj/string.h> 
    1110#include <pj/pool.h> 
    1211#include <pj/guid.h> 
     12#include <pj/assert.h> 
     13#include <pj/ctype.h> 
    1314 
    1415/* Length of digest string. */ 
     
    147148    p = qop.ptr; 
    148149    while (*p) { 
    149         *p = (char)tolower(*p); 
     150        *p = (char)pj_tolower(*p); 
    150151        ++p; 
    151152    } 
     
    218219        cred->qop = pjsip_AUTH_STR; 
    219220        cred->nc.ptr = pj_pool_alloc(pool, 16); 
    220         sprintf(cred->nc.ptr, "%06u", nc); 
     221        pj_snprintf(cred->nc.ptr, 16, "%06u", nc); 
    221222 
    222223        if (cnonce && cnonce->slen) { 
     
    485486{ 
    486487    unsigned i; 
    487     PJ_UNUSED_ARG(scheme) 
     488    PJ_UNUSED_ARG(scheme); 
    488489    for (i=0; i<count; ++i) { 
    489490        if (pj_stricmp(&cred[i].realm, realm) == 0) 
     
    716717    pjsip_via_hdr *via; 
    717718 
    718     PJ_UNUSED_ARG(endpt) 
     719    PJ_UNUSED_ARG(endpt); 
    719720 
    720721    pj_assert(rdata->msg->type == PJSIP_RESPONSE_MSG); 
Note: See TracChangeset for help on using the changeset viewer.