summaryrefslogtreecommitdiff
path: root/libcli/auth/spnego.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcli/auth/spnego.h')
-rw-r--r--libcli/auth/spnego.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/libcli/auth/spnego.h b/libcli/auth/spnego.h
index 539b90336f0..49645e06bff 100644
--- a/libcli/auth/spnego.h
+++ b/libcli/auth/spnego.h
@@ -45,7 +45,11 @@ enum spnego_negResult {
SPNEGO_ACCEPT_COMPLETED = 0,
SPNEGO_ACCEPT_INCOMPLETE = 1,
SPNEGO_REJECT = 2,
- SPNEGO_NONE_RESULT = 3
+ SPNEGO_REQUEST_MIC = 3,
+ /*
+ * The max value is 0xff (255) on the wire
+ */
+ SPNEGO_NONE_RESULT = 256
};
struct spnego_negTokenInit {
@@ -58,7 +62,7 @@ struct spnego_negTokenInit {
};
struct spnego_negTokenTarg {
- uint8_t negResult;
+ enum spnego_negResult negResult;
const char *supportedMech;
DATA_BLOB responseToken;
DATA_BLOB mechListMIC;