summaryrefslogtreecommitdiff
path: root/source4/libcli/auth/spnego_parse.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-07-09 12:28:38 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:54 -0500
commit7381ba30c499135b40471ed5757551401359bd0d (patch)
tree50b62cc716f4b670390b1d8014a0b0b0f63fdeec /source4/libcli/auth/spnego_parse.c
parentb119ebeab0699910f717384591903651d0621886 (diff)
downloadsamba-7381ba30c499135b40471ed5757551401359bd0d.tar.gz
samba-7381ba30c499135b40471ed5757551401359bd0d.tar.bz2
samba-7381ba30c499135b40471ed5757551401359bd0d.zip
r1420: be more strict reject if the context has the wrong type
metze (This used to be commit db19d6047c25698d0c3b7aeaab77b2a02385dbb5)
Diffstat (limited to 'source4/libcli/auth/spnego_parse.c')
-rw-r--r--source4/libcli/auth/spnego_parse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/libcli/auth/spnego_parse.c b/source4/libcli/auth/spnego_parse.c
index 9c50e3887d..bcc32def16 100644
--- a/source4/libcli/auth/spnego_parse.c
+++ b/source4/libcli/auth/spnego_parse.c
@@ -296,6 +296,7 @@ ssize_t spnego_read_data(DATA_BLOB data, struct spnego_data *token)
}
break;
default:
+ asn1.has_error = True;
break;
}
}