View | Details | Raw Unified | Return to bug 1849
Collapse All | Expand All

(-)openssh-5.6p1.orig/sshconnect2.c (-2 / +5 lines)
Lines 1818-1824 Link Here
1818
		if ((name = match_list(preferred, supported, &next)) == NULL) {
1818
		if ((name = match_list(preferred, supported, &next)) == NULL) {
1819
			debug("No more authentication methods to try.");
1819
			debug("No more authentication methods to try.");
1820
			current = NULL;
1820
			current = NULL;
1821
			return NULL;
1821
			break;
1822
		}
1822
		}
1823
		preferred += next;
1823
		preferred += next;
1824
		debug3("authmethod_lookup %s", name);
1824
		debug3("authmethod_lookup %s", name);
Lines 1827-1835 Link Here
1827
		    authmethod_is_enabled(current)) {
1827
		    authmethod_is_enabled(current)) {
1828
			debug3("authmethod_is_enabled %s", name);
1828
			debug3("authmethod_is_enabled %s", name);
1829
			debug("Next authentication method: %s", name);
1829
			debug("Next authentication method: %s", name);
1830
			return current;
1830
			break;
1831
		}
1831
		}
1832
	}
1832
	}
1833
1834
	if (name != NULL) xfree(name);
1835
	return current;
1833
}
1836
}
1834
1837
1835
static char *
1838
static char *

Return to bug 1849