curl/lib/vauth
Viktor Szakats 45438c8d6f
checksrc: reduce directory-specific exceptions
By making them defaults, then fixing and/or reshuffling remaining
exceptions as necessary.

- checksrc: ban by default: `snprintf`, `vsnprintf`, `sscanf`, `strtol`.
- examples: replace `strtol` with `atoi` to avoid a checksrc exception.
- tests/libtest: replace `strtol` with `atol`.
- tests/server: replace most `strtol` with `atol`.
- tests/server: replace most `strtoul` with `atol`/`atoi`.
- tests/server: drop no longer used `util_ultous`.
- fix typo in checksrc rules: `vsnprint` -> `vsnprintf`.
- update local exceptions.

Also:
- examples: ban curl printf functions. They're discouraged in user code.
- examples: replace curl printf with system printf.
  Add `snprintf` workaround for <VS2015.
- examples/synctime: fix `-Wfloat-equal`.
- examples/synctime: exclude for non-Windows and non-UWP Windows.
- examples/synctime: build by default.

Closes #18823
2025-10-04 00:48:58 +02:00
..
.checksrc checksrc: reduce directory-specific exceptions 2025-10-04 00:48:58 +02:00
cleartext.c curl_setup: use SIZE_MAX instead of SIZE_T_MAX 2025-08-29 09:45:06 +02:00
cram.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
digest.c tidy-up: whitespace 2025-07-11 13:32:54 +02:00
digest.h lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
digest_sspi.c windows: stop passing unused, optional argument for Win9x compatibility 2025-09-20 02:27:07 +02:00
gsasl.c lib: include files using known path 2025-04-08 17:00:00 +02:00
krb5_gssapi.c tidy-up: more whitespace/indent, comments 2025-07-25 11:47:51 +02:00
krb5_sspi.c windows: stop passing unused, optional argument for Win9x compatibility 2025-09-20 02:27:07 +02:00
ntlm.c tidy-up: prefer ifdef/ifndef for single checks 2025-07-27 22:35:17 +02:00
ntlm_sspi.c tidy-up: update MS links, allow long URLs via checksrc 2025-09-20 11:49:23 +02:00
oauth2.c tidy-up: whitespace 2025-07-11 13:32:54 +02:00
spnego_gssapi.c tidy-up: more whitespace/indent, comments 2025-07-25 11:47:51 +02:00
spnego_sspi.c tidy-up: update MS links, allow long URLs via checksrc 2025-09-20 11:49:23 +02:00
vauth.c tidy-up: avoid using the reserved macro namespace 2025-09-20 02:27:06 +02:00
vauth.h tidy-up: prefer ifdef/ifndef for single checks 2025-07-27 22:35:17 +02:00