curl/lib/vssh
Jay Satiro 9d55fb4675 libssh: Improve fix for missing SSH_S_ stat macros
- If building libcurl against an old libssh version missing SSH_S_IFMT
  and SSH_S_IFLNK then use the values from a supported version.

Prior to this change if libssh did not define SSH_S_IFMT and SSH_S_IFLNK
then S_IFMT and S_IFLNK, respectively, were used instead. The problem
with that is the user's S_ stat macros don't have the same values across
platforms. For example Windows has values different from Linux.

Follow-up to 7b0fd39.

Ref: https://github.com/curl/curl/pull/8511#discussion_r815292391
Ref: https://github.com/curl/curl/pull/8574

Closes https://github.com/curl/curl/pull/8588
2022-03-14 03:31:20 -04:00
..
libssh2.c libssh2: don't typecast socket to int for libssh2_session_handshake 2022-02-21 17:17:25 +01:00
libssh.c libssh: Improve fix for missing SSH_S_ stat macros 2022-03-14 03:31:20 -04:00
ssh.h
wolfssh.c lib: avoid fallthrough cases in switch statements 2021-09-29 10:00:52 +02:00
wolfssh.h