gensec: set flag to continue in outer for loop in gensec_use_kerberos_mechs
authorAndrew Bartlett <abartlet@samba.org>
Thu, 9 Feb 2012 21:13:40 +0000 (08:13 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 10 Feb 2012 09:49:24 +0000 (20:49 +1100)
commit93f3fc54e462958c3bc88ebf586be99fb703347b
tree58133461a037326ade7c421b75d10a36af1acb30
parent901e3b7246de9bdc07e2b3d88f55917bf2a37377
gensec: set flag to continue in outer for loop in gensec_use_kerberos_mechs

This should be the correct fix for the valgrind erorr Volker found in
744ed53a62037a659133ccd4de2065491208ae7d.  This fix avoids putting
SPNEGO into the list twice when we are in the CRED_DONT_USE_KERBEROS
case.

Andrew Bartlett
auth/gensec/gensec_start.c