summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/libcli/auth/spnego_parse.c4
1 files changed, 2 insertions, 2 deletions
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):