From aa3835f3975a471acd49bc849b55f64dad0f5ea1 Mon Sep 17 00:00:00 2001 From: Mark Michelson Date: Wed, 8 Jan 2014 16:48:12 +0000 Subject: [PATCH] Use proper case for checking if digest authentication is used. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@405131 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- res/res_pjsip/security_events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/res_pjsip/security_events.c b/res/res_pjsip/security_events.c index 0135d33518..238c1007dd 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)); } -- 2.47.2