diff options
author | Benny Prijono <bennylp@teluu.com> | 2011-06-29 12:59:11 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2011-06-29 12:59:11 +0000 |
commit | 24cbc9b8f93b4a2ef17851bbbe2d03d03fda6ab9 (patch) | |
tree | c0365bb9be89516811f69a1fb72d7611cea07a83 /pjlib-util | |
parent | e5275bfb1f65fc4b5c575b670ae6a1a5f0b18e96 (diff) |
Re #1252 (misc fixes): fixed encoding of nc parameter in the HTTP client that caused authentication to fail (thanks Johan Lantz for the pointer)
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3600 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib-util')
-rw-r--r-- | pjlib-util/src/pjlib-util/http_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pjlib-util/src/pjlib-util/http_client.c b/pjlib-util/src/pjlib-util/http_client.c index d455cc20..5715a268 100644 --- a/pjlib-util/src/pjlib-util/http_client.c +++ b/pjlib-util/src/pjlib-util/http_client.c @@ -1345,7 +1345,7 @@ static pj_status_t auth_respond_digest(pj_http_req *hreq) */ const pj_str_t STR_MD5 = { "MD5", 3 }; const pj_str_t qop = pj_str("auth"); - const pj_str_t nc = pj_str("1"); + const pj_str_t nc = pj_str("00000001"); const pj_str_t cnonce = pj_str("b39971"); auth_create_digest_response(&digest_response, cred, |