Changeset 2691 for pjproject


Ignore:
Timestamp:
May 12, 2009 10:01:21 AM (16 years ago)
Author:
bennylp
Message:

Minor fixes (#838): const correctness in some function call arguments@

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjnath/stun_msg.c

    r2589 r2691  
    27112711         * if necessary to make the input 64 bytes aligned. 
    27122712         */ 
    2713         pj_hmac_sha1_init(&ctx, (pj_uint8_t*)key->ptr, key->slen); 
    2714         pj_hmac_sha1_update(&ctx, (pj_uint8_t*)start, buf-start); 
     2713        pj_hmac_sha1_init(&ctx, (const pj_uint8_t*)key->ptr, key->slen); 
     2714        pj_hmac_sha1_update(&ctx, (const pj_uint8_t*)start, buf-start); 
    27152715#if PJ_STUN_OLD_STYLE_MI_FINGERPRINT 
    27162716        // These are obsoleted in rfc3489bis-08 
Note: See TracChangeset for help on using the changeset viewer.