]> git.ipfire.org Git - thirdparty/curl.git/commit
windows: use native error code types more
authorViktor Szakats <commit@vsz.me>
Mon, 6 Oct 2025 00:33:49 +0000 (02:33 +0200)
committerViktor Szakats <commit@vsz.me>
Mon, 6 Oct 2025 10:12:44 +0000 (12:12 +0200)
commite9ababe9aa4c1f7d727494d660650af934db523b
tree443e9d006d3a9ffafef36acd468d9875eb613e8b
parente7a5184fa1ebcd68ead0e3e9b78340296acac350
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
lib/curlx/strerr.c
lib/curlx/winapi.c
lib/curlx/winapi.h
lib/strerror.c
lib/strerror.h
lib/vauth/digest_sspi.c
lib/vauth/spnego_sspi.c
lib/vauth/vauth.h