summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--res/res_pjsip/security_events.c2
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));
}