mirror of
https://github.com/curl/curl.git
synced 2026-07-26 18:07:16 +03:00
parent
43a50a2580
commit
b46cfbc068
28 changed files with 312 additions and 29 deletions
|
|
@ -383,8 +383,10 @@ static int myssh_is_known(struct connectdata *conn)
|
|||
}
|
||||
|
||||
/* we don't have anything equivalent to knownkey. Always NULL */
|
||||
Curl_set_in_callback(data, true);
|
||||
rc = func(data, NULL, &foundkey, /* from the remote host */
|
||||
keymatch, data->set.ssh_keyfunc_userp);
|
||||
Curl_set_in_callback(data, false);
|
||||
|
||||
switch(rc) {
|
||||
case CURLKHSTAT_FINE_ADD_TO_FILE:
|
||||
|
|
@ -1128,8 +1130,10 @@ static CURLcode myssh_statemach_act(struct connectdata *conn, bool *block)
|
|||
if(data->state.resume_from > 0) {
|
||||
/* Let's read off the proper amount of bytes from the input. */
|
||||
if(conn->seek_func) {
|
||||
Curl_set_in_callback(data, true);
|
||||
seekerr = conn->seek_func(conn->seek_client, data->state.resume_from,
|
||||
SEEK_SET);
|
||||
Curl_set_in_callback(data, false);
|
||||
}
|
||||
|
||||
if(seekerr != CURL_SEEKFUNC_OK) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue