summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-07-06 02:18:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:52 -0500
commit674ad2378942ea053e17f6d2b21c9d332145aa8c (patch)
tree628d8e4bee8c994669b432b7b418ac4a54a59372 /source4/libcli
parentb359f5d89301882bbec657084b99c8d3e93dc3f2 (diff)
downloadsamba-674ad2378942ea053e17f6d2b21c9d332145aa8c.tar.gz
samba-674ad2378942ea053e17f6d2b21c9d332145aa8c.tar.bz2
samba-674ad2378942ea053e17f6d2b21c9d332145aa8c.zip
r1353: Fix compile with new ASN1 peek code.
Andrew Bartlett (This used to be commit 9039a2a1128d8af278cae76c0aa6d5362b3671e4)
Diffstat (limited to 'source4/libcli')
-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):