[asterisk-commits] mmichelson: branch 12 r405131 - /branches/12/res/res_pjsip/security_events.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jan 8 10:48:14 CST 2014
Author: mmichelson
Date: Wed Jan 8 10:48:12 2014
New Revision: 405131
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=405131
Log:
Use proper case for checking if digest authentication is used.
Modified:
branches/12/res/res_pjsip/security_events.c
Modified: branches/12/res/res_pjsip/security_events.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/res/res_pjsip/security_events.c?view=diff&rev=405131&r1=405130&r2=405131
==============================================================================
--- branches/12/res/res_pjsip/security_events.c (original)
+++ branches/12/res/res_pjsip/security_events.c Wed Jan 8 10:48:12 2014
@@ -150,7 +150,7 @@
.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));
}
More information about the asterisk-commits
mailing list