diff options
Diffstat (limited to 'libcli/auth/spnego_parse.c')
-rw-r--r-- | libcli/auth/spnego_parse.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libcli/auth/spnego_parse.c b/libcli/auth/spnego_parse.c index 3f7047b0e0..86b083d805 100644 --- a/libcli/auth/spnego_parse.c +++ b/libcli/auth/spnego_parse.c @@ -88,11 +88,11 @@ static bool read_negTokenInit(struct asn1_data *asn1, TALLOC_CTX *mem_ctx, /* RFC 2478 says we have an Octet String here, but W2k sends something different... */ char *mechListMIC; - asn1_push_tag(asn1, ASN1_SEQUENCE(0)); - asn1_push_tag(asn1, ASN1_CONTEXT(0)); + asn1_start_tag(asn1, ASN1_SEQUENCE(0)); + asn1_start_tag(asn1, ASN1_CONTEXT(0)); asn1_read_GeneralString(asn1, mem_ctx, &mechListMIC); - asn1_pop_tag(asn1); - asn1_pop_tag(asn1); + asn1_end_tag(asn1); + asn1_end_tag(asn1); token->targetPrincipal = mechListMIC; } |