summaryrefslogtreecommitdiffstats
path: root/source/include/rpc_dce.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/include/rpc_dce.h')
-rw-r--r--source/include/rpc_dce.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/include/rpc_dce.h b/source/include/rpc_dce.h
index 8266fc861f1..0df903109db 100644
--- a/source/include/rpc_dce.h
+++ b/source/include/rpc_dce.h
@@ -63,7 +63,9 @@ enum RPC_PKT_TYPE
#define NETSEC_AUTH_TYPE 0x44
#define NETSEC_SIGN_SIGNATURE { 0x77, 0x00, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00 }
#define NETSEC_SEAL_SIGNATURE { 0x77, 0x00, 0x7a, 0x00, 0xff, 0xff, 0x00, 0x00 }
-#define RPC_AUTH_NETSEC_CHK_LEN 0x20
+
+#define RPC_AUTH_NETSEC_SIGN_OR_SEAL_CHK_LEN 0x20
+#define RPC_AUTH_NETSEC_SIGN_ONLY_CHK_LEN 0x18
/* The 7 here seems to be required to get Win2k not to downgrade us
to NT4. Actually, anything other than 1ff would seem to do... */