svn commit: samba r12439 - in branches/SAMBA_4_0/source/auth/gensec: .

abartlet at samba.org abartlet at samba.org
Thu Dec 22 21:43:17 GMT 2005


Author: abartlet
Date: 2005-12-22 21:43:16 +0000 (Thu, 22 Dec 2005)
New Revision: 12439

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12439

Log:
No need to keep walking this list if we find the match.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/auth/gensec/spnego.c


Changeset:
Modified: branches/SAMBA_4_0/source/auth/gensec/spnego.c
===================================================================
--- branches/SAMBA_4_0/source/auth/gensec/spnego.c	2005-12-22 20:57:47 UTC (rev 12438)
+++ branches/SAMBA_4_0/source/auth/gensec/spnego.c	2005-12-22 21:43:16 UTC (rev 12439)
@@ -352,6 +352,7 @@
 				}
 
 				spnego_state->neg_oid = all_sec[i].oid;
+				break;
 			}
 		}
 	}



More information about the samba-cvs mailing list