Fix what looks like a cut-and-paste error in our read_negTokenInit() function.
authorJeremy Allison <jra@samba.org>
Thu, 20 May 2010 21:30:44 +0000 (14:30 -0700)
committerKarolin Seeger <kseeger@samba.org>
Fri, 18 Jun 2010 06:33:26 +0000 (08:33 +0200)
commit5f7fa425e04884fbd830004ef933aa6e119fb31d
tree39e72f0ab2a5e23c243fa1ca7f66e587941f1cbc
parenta160aeddea2d9dedaa9e66ac30b4bf713c68192f
Fix what looks like a cut-and-paste error in our read_negTokenInit() function.

We should never be calling asn1_push_XXX functions inside an asn1
reading function. Change asn1_push_tag() -> asn1_start_tag() and
asn1_pop_tag() -> asn1_end_tag(). This allows us to connect to a
NetApp filer at the Microsoft plugfest.

Andrew PLEASE CHECK !

Jeremy.

Fix bug #7449 (spnego data mis-parsed - returns incorrect mechListMIC string).
(cherry picked from commit 70098b751c10e632738f687976e6ef5e5fb2fc7b)
libcli/auth/spnego_parse.c