From 674ad2378942ea053e17f6d2b21c9d332145aa8c Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 6 Jul 2004 02:18:24 +0000 Subject: r1353: Fix compile with new ASN1 peek code. Andrew Bartlett (This used to be commit 9039a2a1128d8af278cae76c0aa6d5362b3671e4) --- source4/libcli/auth/spnego_parse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/libcli/auth') diff --git a/source4/libcli/auth/spnego_parse.c b/source4/libcli/auth/spnego_parse.c index dfaf9cf320..c2e23c0ffe 100644 --- a/source4/libcli/auth/spnego_parse.c +++ b/source4/libcli/auth/spnego_parse.c @@ -276,8 +276,8 @@ ssize_t spnego_read_data(DATA_BLOB data, struct spnego_data *token) asn1_load(&asn1, data); uint8_t context; - if (!asn1_peek_uint8(asn1, &context)) { - asn1->has_error = True; + if (!asn1_peek_uint8(&asn1, &context)) { + asn1.has_error = True; } else { switch (context) { case ASN1_APPLICATION(0): -- cgit