diff options
author | Stefan Metzmacher <metze@samba.org> | 2013-12-17 12:42:35 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2016-04-12 19:25:22 +0200 |
commit | 574535c74dca47f34749ce05b3333dd7a3c50bca (patch) | |
tree | ade0c4d647d45cd19c444a29d61e44a3f65e2705 /libcli | |
parent | 001735a804914de936699e95fce898a593ba24ec (diff) | |
download | samba-574535c74dca47f34749ce05b3333dd7a3c50bca.tar.gz |
CVE-2016-2110: libcli/auth: add SPNEGO_REQUEST_MIC to enum spnego_negResult
This is defined in http://www.ietf.org/rfc/rfc4178.txt.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11644
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'libcli')
-rw-r--r-- | libcli/auth/spnego.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libcli/auth/spnego.h b/libcli/auth/spnego.h index 73196e61387..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 { |