diff options
author | Mark Michelson <mmichelson@digium.com> | 2014-01-08 17:23:03 +0000 |
---|---|---|
committer | Mark Michelson <mmichelson@digium.com> | 2014-01-08 17:23:03 +0000 |
commit | 96741960095002c2fe64e0700def2cdcf8bf1dce (patch) | |
tree | 08a2c2335d49309145ac5f23535de20799387743 /res/res_pjsip/security_events.c | |
parent | 537f4a9dacc066893dad17a8a96c450de48abbdb (diff) |
Use proper case for checking if digest authentication is used.
........
Merged revisions 405131 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@405144 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_pjsip/security_events.c')
-rw-r--r-- | res/res_pjsip/security_events.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_pjsip/security_events.c b/res/res_pjsip/security_events.c index 0135d3351..238c1007d 100644 --- a/res/res_pjsip/security_events.c +++ b/res/res_pjsip/security_events.c @@ -150,7 +150,7 @@ void ast_sip_report_auth_failed_challenge_response(struct ast_sip_endpoint *endp .expected_response = "", }; - if (auth && !pj_strcmp2(&auth->scheme, "digest")) { + if (auth && !pj_strcmp2(&auth->scheme, "Digest")) { ast_copy_pj_str(nonce, &auth->credential.digest.nonce, sizeof(nonce)); ast_copy_pj_str(response, &auth->credential.digest.response, sizeof(response)); } |