mirror of
https://github.com/curl/curl.git
synced 2026-08-25 16:13:32 +03:00
libssh2: add CURLOPT_SSH_HOSTKEYFUNCTION
The callback set by CURLOPT_SSH_HOSTKEYFUNCTION is called to check wether or not the connection should continue. The host key is passed in argument with a custom handle for the application. It overrides CURLOPT_SSH_KNOWNHOSTS Closes #7959
This commit is contained in:
parent
267d560b5a
commit
1544513958
11 changed files with 263 additions and 20 deletions
|
|
@ -6,7 +6,7 @@
|
|||
# | (__| |_| | _ <| |___
|
||||
# \___|\___/|_| \_\_____|
|
||||
#
|
||||
# Copyright (C) 2017 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
# Copyright (C) 2017 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
#
|
||||
# This software is licensed as described in the file COPYING, which
|
||||
# you should have received as part of this distribution. The terms
|
||||
|
|
@ -128,6 +128,7 @@ static curl_sockopt_callback sockoptcb;
|
|||
static curl_opensocket_callback opensocketcb;
|
||||
static curl_seek_callback seekcb;
|
||||
static curl_sshkeycallback ssh_keycb;
|
||||
static curl_sshhostkeycallback ssh_hostkeycb;
|
||||
static curl_chunk_bgn_callback chunk_bgn_cb;
|
||||
static curl_chunk_end_callback chunk_end_cb;
|
||||
static curl_fnmatch_callback fnmatch_cb;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue