r3305 - trunk/libmsip/source/dialogs
mikma at minisip.org
mikma at minisip.org
Tue Jun 12 21:37:44 CEST 2007
Author: mikma
Date: 2007-06-12 21:37:44 +0200 (Tue, 12 Jun 2007)
New Revision: 3305
Modified:
trunk/libmsip/source/dialogs/SipDialog.cxx
Log:
Ignore unsupported authentication methods.
Fixes problem when presented with multiple authentication methods for the
same realm.
Modified: trunk/libmsip/source/dialogs/SipDialog.cxx
===================================================================
--- trunk/libmsip/source/dialogs/SipDialog.cxx 2007-06-12 14:14:40 UTC (rev 3304)
+++ trunk/libmsip/source/dialogs/SipDialog.cxx 2007-06-12 19:37:44 UTC (rev 3305)
@@ -294,6 +294,9 @@
bool SipDialog::updateAuthentication( MRef<SipResponse*> resp,
MRef<SipHeaderValueProxyAuthenticate*> auth){
+ if (strCaseCmp(auth->getAuthMethod().c_str(), "DIGEST"))
+ return false;
+
bool changed = false;
MRef<SipAuthenticationDigest*> challenge;
More information about the Minisip-devel
mailing list