diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2022-04-12 11:48:54 +0100 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2022-04-28 14:21:36 +0100 |
commit | 05827d2df8312e19d564b06af9f8f1a97cf8c1b9 (patch) | |
tree | 278383dbf3397fda4beece9b3fcf6b5a045eebef /winsup | |
parent | 251c823aba35d3c09e9f8d8942d0b3cea90bf216 (diff) | |
download | newlib-05827d2df8312e19d564b06af9f8f1a97cf8c1b9.zip newlib-05827d2df8312e19d564b06af9f8f1a97cf8c1b9.tar.gz newlib-05827d2df8312e19d564b06af9f8f1a97cf8c1b9.tar.bz2 |
Cygwin: Fix typo KERB_S4U_LOGON_FLAG_IDENTITY -> IDENTIFY
(cherry picked from commit 01c734b0d7c1ce0f848f7efc091856c58a6ef55e)
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/sec_auth.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/sec_auth.cc b/winsup/cygwin/sec_auth.cc index 9559096..e44b70b 100644 --- a/winsup/cygwin/sec_auth.cc +++ b/winsup/cygwin/sec_auth.cc @@ -1490,7 +1490,7 @@ typedef struct _MSV1_0_S4U_LOGON } MSV1_0_S4U_LOGON, *PMSV1_0_S4U_LOGON; /* Missing in Mingw-w64 */ -#define KERB_S4U_LOGON_FLAG_IDENTITY 0x08 +#define KERB_S4U_LOGON_FLAG_IDENTIFY 0x08 #endif @@ -1611,7 +1611,7 @@ s4uauth (bool logon, PCWSTR domain, PCWSTR user, NTSTATUS &ret_status) RtlSecureZeroMemory (authinf, authinf_size); s4u_logon = (KERB_S4U_LOGON *) authinf; s4u_logon->MessageType = KerbS4ULogon; - s4u_logon->Flags = logon ? 0 : KERB_S4U_LOGON_FLAG_IDENTITY; + s4u_logon->Flags = logon ? 0 : KERB_S4U_LOGON_FLAG_IDENTIFY; /* Append user to login info */ RtlInitEmptyUnicodeString (&s4u_logon->ClientUpn, (PWCHAR) (s4u_logon + 1), |