Revert "gensec: Fix a memory corruption in gensec_use_kerberos_mechs"
authorAndrew Bartlett <abartlet@samba.org>
Thu, 9 Feb 2012 21:07:21 +0000 (08:07 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 10 Feb 2012 09:49:24 +0000 (20:49 +1100)
commit901e3b7246de9bdc07e2b3d88f55917bf2a37377
treeffe385955e25d5f9f14c4845316e429c4b0bc7b8
parent919440ff0a8ca05a394c316405e1dfb869ffd488
Revert "gensec: Fix a memory corruption in gensec_use_kerberos_mechs"

This reverts commit 744ed53a62037a659133ccd4de2065491208ae7d.

The real bug here is that the second half of the outer loop should not
have been run once we found spnego.

Andrew Bartlett
auth/gensec/gensec_start.c