diff options
author | Daniel Stenberg <daniel@haxx.se> | 2010-10-20 23:31:34 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2010-10-20 23:31:34 +0200 |
commit | e214cd4a7323e0326bb9a731c4effdbb4082c85f (patch) | |
tree | a6b4113f41b3ac57d2e66cd92e26f1e4e88325f3 /configure.ac | |
parent | 5997f54a715a7304c39ee946a3c460f03dde1a8a (diff) | |
download | curl-e214cd4a7323e0326bb9a731c4effdbb4082c85f.tar.gz |
SSH: use libssh2_session_handshake()
In libssh2 1.2.8, libssh2_session_handshake() replaces
libssh2_session_startup() to fix the previous portability problem with
the socket type that was too small for win64 and thus easily could cause
crashes and more.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 28a195570..224ca2d58 100644 --- a/configure.ac +++ b/configure.ac @@ -2019,8 +2019,9 @@ if test X"$OPT_LIBSSH2" != Xno; then dnl libssh2_version is a post 1.0 addition dnl libssh2_init and libssh2_exit were added in 1.2.5 dnl libssh2_scp_send64 was added in 1.2.6 + dnl libssh2_session_handshake was added in 1.2.8 AC_CHECK_FUNCS( libssh2_version libssh2_init libssh2_exit \ - libssh2_scp_send64 ) + libssh2_scp_send64 libssh2_session_handshake) LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$DIR_SSH2" export LD_LIBRARY_PATH |