mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 11:58:52 +00:00
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
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
Reference in New Issue
Block a user