diff --git a/libs/sofia-sip/.update b/libs/sofia-sip/.update index 6ce6987cec..f392518516 100644 --- a/libs/sofia-sip/.update +++ b/libs/sofia-sip/.update @@ -1 +1 @@ -Wed Jan 13 09:48:12 CST 2010 +Fri Mar 26 12:20:14 CDT 2010 diff --git a/libs/sofia-sip/libsofia-sip-ua/iptsec/auth_client.c b/libs/sofia-sip/libsofia-sip-ua/iptsec/auth_client.c index 17e71d6031..8a1c0f07ae 100644 --- a/libs/sofia-sip/libsofia-sip-ua/iptsec/auth_client.c +++ b/libs/sofia-sip/libsofia-sip-ua/iptsec/auth_client.c @@ -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))