diff options
author | Liong Sauw Ming <ming@teluu.com> | 2015-12-31 04:03:37 +0000 |
---|---|---|
committer | Liong Sauw Ming <ming@teluu.com> | 2015-12-31 04:03:37 +0000 |
commit | 19418018c089c745932800f6c7c18703122a1941 (patch) | |
tree | bbcfce563f3eb9cd43a80f36a5156256335cb3a3 /pjsip/src | |
parent | 77266921153a1e3478225b37e486e66a1fc1e868 (diff) |
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.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5227 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/src')
-rw-r--r-- | pjsip/src/pjsip/sip_auth_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pjsip/src/pjsip/sip_auth_client.c b/pjsip/src/pjsip/sip_auth_client.c index 55f5e894..3b2ee372 100644 --- a/pjsip/src/pjsip/sip_auth_client.c +++ b/pjsip/src/pjsip/sip_auth_client.c @@ -339,7 +339,7 @@ static pj_status_t respond_digest( pj_pool_t *pool, } else { pjsip_auth_create_digest( &cred->response, &cred->nonce, - &cred->nc, cnonce, &pjsip_AUTH_STR, + &cred->nc, &cred->cnonce, &pjsip_AUTH_STR, uri, &chal->realm, cred_info, method ); } |