curl/lib/vssh
Viktor Szakats 02f91d5b64
libssh2: use libssh2_session_callback_set2() with v1.11.1
To avoid a local hack to pass function pointers and to avoid
deprecation warnings when building with libssh2 v1.11.1 or newer:
```
lib/vssh/libssh2.c:3324:5: warning: 'libssh2_session_callback_set' is deprecated: since libssh2 1.11.1. Use libssh2_session_callback_set2() [-Wdeprecated-declarations]
lib/vssh/libssh2.c:3326:5: warning: 'libssh2_session_callback_set' is deprecated: since libssh2 1.11.1. Use libssh2_session_callback_set2() [-Wdeprecated-declarations]
```
Ref: https://github.com/curl/curl-for-win/actions/runs/7609484879/job/20720821100#step:3:4982

Ref: https://github.com/libssh2/libssh2/pull/1285
Ref: c0f69548be
Reviewed-by: Daniel Stenberg
Closes #12754
2024-01-22 16:10:45 +00:00
..
libssh2.c libssh2: use libssh2_session_callback_set2() with v1.11.1 2024-01-22 16:10:45 +00:00
libssh.c lib: replace readwrite with write_resp 2024-01-13 17:23:42 +01: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: replace readwrite with write_resp 2024-01-13 17:23:42 +01:00