]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix typo in sofia that causes endless loop when you have a challenge with 2 auth...
authorAnthony Minessale <anthony.minessale@gmail.com>
Fri, 26 Mar 2010 17:38:00 +0000 (17:38 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Fri, 26 Mar 2010 17:38:00 +0000 (17:38 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17114 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/sofia-sip/.update
libs/sofia-sip/libsofia-sip-ua/iptsec/auth_client.c

index 6ce6987cec517941e05b11ac4133dc9c8a1ee9e4..f392518516623b722bab020e29d269635e2dfcdb 100644 (file)
@@ -1 +1 @@
-Wed Jan 13 09:48:12 CST 2010
+Fri Mar 26 12:20:14 CDT 2010
index 17e71d6031f2e2bb13305272a1eb94fb8e8c95b8..8a1c0f07ae384c5b2dd574bbb6c7122ece464ecc 100644 (file)
@@ -565,9 +565,11 @@ int auc_has_authorization(auth_client_t **auc_list)
        * Check if we have another challenge with same realm but different
        * scheme
        */
-      for (other = *auc_list; other; other = ca->ca_next) {
-       if (ca == other)
-         continue;
+      for (other = *auc_list; other; other = other->ca_next) {
+                 if (ca == other) {
+                         continue;
+                 }
+
        if (ca->ca_credential_class == other->ca_credential_class &&
            su_strcmp(ca->ca_realm, other->ca_realm) == 0 &&
            ca_has_authorization(other))