curl/lib/vssh
Viktor Szakats 602fc213ae
libssh2: replace access() with stat()
Prefer `stat()` to verify the presence of key files.

This drops the last uses of `access()` in the codebase, which was
reported to cause issues in some cases.

Also add `access()` to the list of banned functions in checksrc.

Ref: https://github.com/curl/curl/pull/13412#issuecomment-2065505415
Ref: https://github.com/curl/curl/pull/13482#issuecomment-2078980522
Ref: #13497
Co-authored-by: Jay Satiro
Closes #13498
2024-04-30 10:03:16 +02:00
..
libssh2.c libssh2: replace access() with stat() 2024-04-30 10:03:16 +02:00
libssh.c lib: add Curl_xfer_write_resp_hd 2024-04-11 09:29:21 +02:00
ssh.h vssh: remove the #ifdef for Curl_ssh_init, use empty macro 2023-10-20 22:56:01 +02:00
wolfssh.c lib: add Curl_xfer_write_resp_hd 2024-04-11 09:29:21 +02:00