summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-12-22 21:43:16 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:47:39 -0500
commit97113d050841adbc9997f5ac725b9185ade86efa (patch)
treef0ab55f70fa58409e347a4860b69d2b8df422176
parentf76ee31ccf40a19ade72cb0f83b356456e645e47 (diff)
downloadsamba-97113d050841adbc9997f5ac725b9185ade86efa.tar.gz
samba-97113d050841adbc9997f5ac725b9185ade86efa.tar.bz2
samba-97113d050841adbc9997f5ac725b9185ade86efa.zip
r12439: No need to keep walking this list if we find the match.
Andrew Bartlett (This used to be commit cf1883c3cc1feecf3ddd7f36dbbca3bdf068bee2)
-rw-r--r--source4/auth/gensec/spnego.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/auth/gensec/spnego.c b/source4/auth/gensec/spnego.c
index 461141cc84..57853c9c61 100644
--- a/source4/auth/gensec/spnego.c
+++ b/source4/auth/gensec/spnego.c
@@ -352,6 +352,7 @@ static NTSTATUS gensec_spnego_parse_negTokenInit(struct gensec_security *gensec_
}
spnego_state->neg_oid = all_sec[i].oid;
+ break;
}
}
}