[asterisk-scf-commits] asterisk-scf/integration/pjproject.git branch "tweaked-auth" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Wed Aug 3 15:17:01 CDT 2011


branch "tweaked-auth" has been updated
       via  97eb4385e370b90581897fbc2254bea1aadece58 (commit)
      from  b3f24bc0e352bcd552a4b2ccbd21b39d19fb4aec (commit)

Summary of changes:
 pjsip/src/pjsip/sip_auth_server.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


- Log -----------------------------------------------------------------
commit 97eb4385e370b90581897fbc2254bea1aadece58
Author: Joshua Colp <jcolp at digium.com>
Date:   Wed Aug 3 17:17:07 2011 -0300

    Return the value that was returned under release builds on the old code.

diff --git a/pjsip/src/pjsip/sip_auth_server.c b/pjsip/src/pjsip/sip_auth_server.c
index 7aed122..fb35c74 100644
--- a/pjsip/src/pjsip/sip_auth_server.c
+++ b/pjsip/src/pjsip/sip_auth_server.c
@@ -64,7 +64,7 @@ static pj_status_t pjsip_auth_verify( const pjsip_authorization_hdr *hdr,
 	if ((pj_strcmp(&dig->username, &cred_info->username) != 0) ||
 	    (pj_strcmp(&dig->realm, &cred_info->realm) != 0))
 	{
-	    return PJSIP_EAUTHINVALIDREALM;
+	    return PJSIP_EINVALIDOP;
 	}
 
 	/* Prepare for our digest calculation. */

-----------------------------------------------------------------------


-- 
asterisk-scf/integration/pjproject.git



More information about the asterisk-scf-commits mailing list