From 10e2039d440aab444532fffd394f5be9b56deb1a Mon Sep 17 00:00:00 2001
From: Biswapriyo Nath <[email protected]>
Date: Fri, 25 Jun 2021 10:06:06 +0530
Subject: [PATCH] headers: Add MsvAvSingleHost in MSV1_0_AVID enum.

MsvAvSingleHost present in MS-NLMP specifications[1] but not in WinSDK
[1]: https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-nlmp/

Signed-off-by: Biswapriyo Nath <[email protected]>
---
 mingw-w64-headers/ddk/include/ddk/ntifs.h | 2 ++
 mingw-w64-headers/include/ntsecapi.h      | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/mingw-w64-headers/ddk/include/ddk/ntifs.h 
b/mingw-w64-headers/ddk/include/ddk/ntifs.h
index 673eb36..ea76faa 100644
--- a/mingw-w64-headers/ddk/include/ddk/ntifs.h
+++ b/mingw-w64-headers/ddk/include/ddk/ntifs.h
@@ -2726,6 +2726,7 @@ typedef struct _MSV1_0_NTLM3_RESPONSE {
   UCHAR Buffer[1];
 } MSV1_0_NTLM3_RESPONSE, *PMSV1_0_NTLM3_RESPONSE;
 
+/* MsvAvSingleHost present in MS-NLMP specifications but not in WinSDK */
 typedef enum _MSV1_0_AVID {
   MsvAvEOL,
   MsvAvNbComputerName,
@@ -2738,6 +2739,7 @@ typedef enum _MSV1_0_AVID {
 #if (_WIN32_WINNT >= 0x0600)
   MsvAvTimestamp,
   MsvAvRestrictions,
+  MsvAvSingleHost = MsvAvRestrictions,
   MsvAvTargetName,
   MsvAvChannelBindings,
 #endif
diff --git a/mingw-w64-headers/include/ntsecapi.h 
b/mingw-w64-headers/include/ntsecapi.h
index edef4d5..f5dba11 100644
--- a/mingw-w64-headers/include/ntsecapi.h
+++ b/mingw-w64-headers/include/ntsecapi.h
@@ -1575,6 +1575,7 @@ typedef enum _SE_ADT_PARAMETER_TYPE {
 #define MSV1_0_NTLM3_INPUT_LENGTH (sizeof(MSV1_0_NTLM3_RESPONSE) - 
MSV1_0_NTLM3_RESPONSE_LENGTH)
 #define MSV1_0_NTLM3_MIN_NT_RESPONSE_LENGTH 
RTL_SIZEOF_THROUGH_FIELD(MSV1_0_NTLM3_RESPONSE,AvPairsOff)
 
+/* MsvAvSingleHost present in MS-NLMP specifications but not in WinSDK */
   typedef enum {
     MsvAvEOL,
     MsvAvNbComputerName,
@@ -1587,6 +1588,7 @@ typedef enum _SE_ADT_PARAMETER_TYPE {
 #if _WIN32_WINNT >= 0x0600
     ,MsvAvTimestamp
     ,MsvAvRestrictions
+    ,MsvAvSingleHost = MsvAvRestrictions
     ,MsvAvTargetName
     ,MsvAvChannelBindings
 #endif
-- 
2.32.0

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to