mirror of
https://github.com/curl/curl.git
synced 2026-08-26 17:53:33 +03:00
windows: use native error code types more
- curlx_get_winapi_error: accept DWORD (was: int), move casts one level up the callstack. - sspi: bump some types to `SECURITY_STATUS` (int -> LONG). - digest_sspi: drop unnecessary cast. Closes #18868
This commit is contained in:
parent
e7a5184fa1
commit
e9ababe9aa
8 changed files with 30 additions and 34 deletions
|
|
@ -317,7 +317,7 @@ struct negotiatedata {
|
|||
#ifdef SECPKG_ATTR_ENDPOINT_BINDINGS
|
||||
CtxtHandle *sslContext;
|
||||
#endif
|
||||
DWORD status;
|
||||
SECURITY_STATUS status;
|
||||
CredHandle *credentials;
|
||||
CtxtHandle *context;
|
||||
SEC_WINNT_AUTH_IDENTITY identity;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue