[asterisk-commits] mmichelson: trunk r405144 - in /trunk: ./ res/res_pjsip/security_events.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jan 8 11:23:04 CST 2014


Author: mmichelson
Date: Wed Jan  8 11:23:03 2014
New Revision: 405144

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=405144
Log:
Use proper case for checking if digest authentication is used.
........

Merged revisions 405131 from http://svn.asterisk.org/svn/asterisk/branches/12

Modified:
    trunk/   (props changed)
    trunk/res/res_pjsip/security_events.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-12-merged' - no diff available.

Modified: trunk/res/res_pjsip/security_events.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_pjsip/security_events.c?view=diff&rev=405144&r1=405143&r2=405144
==============================================================================
--- trunk/res/res_pjsip/security_events.c (original)
+++ trunk/res/res_pjsip/security_events.c Wed Jan  8 11:23:03 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