Changeset 5227


Ignore:
Timestamp:
Dec 31, 2015 4:03:37 AM (4 years ago)
Author:
ming
Message:

Re #1882 (misc): Use cred->cnonce instead of cnonce when calling pjsip_auth_create_digest(), since cnonce can be null

Thanks to Dusan Klinec for the patch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_auth_client.c

    r4728 r5227  
    340340        else { 
    341341            pjsip_auth_create_digest( &cred->response, &cred->nonce, 
    342                                       &cred->nc, cnonce, &pjsip_AUTH_STR, 
     342                                      &cred->nc, &cred->cnonce, &pjsip_AUTH_STR, 
    343343                                      uri, &chal->realm, cred_info, method ); 
    344344        } 
Note: See TracChangeset for help on using the changeset viewer.