CVE-2016-2110: libcli/auth: add SPNEGO_REQUEST_MIC to enum spnego_negResult
authorStefan Metzmacher <metze@samba.org>
Tue, 17 Dec 2013 11:42:35 +0000 (12:42 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 12 Apr 2016 17:25:22 +0000 (19:25 +0200)
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>
libcli/auth/spnego.h

index 73196e61387ba5d74c5288f9429b9806d5c02d94..49645e06bff96d61cb50b9826b113d4c93181df4 100644 (file)
@@ -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 {