Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
According to [1], function AcquireCredentialsHandle should be called using unicode strings:
' #Remarks
'
' [...]
'
' - The two string parameters must be Unicode strings.
So instead of using a regular char*, shouldn't `serf__spnego_create_sec_context() ` use a wchar_t pointer like this:
```
const wchar_t* sspi_package = L"Negotiate"; /* or L"NTLM" */
```
[1] https://msdn.microsoft.com/en-us/library/windows/desktop/aa374712(v=vs.85).aspx
Original issue reported by benjamin.woester