mirror of
https://github.com/curl/curl.git
synced 2026-08-24 21:43:32 +03:00
sftp: add the option CURLKHSTAT_FINE_REPLACE
Replace the old fingerprint of the host with a new. Closes #5685
This commit is contained in:
parent
ddf47bbc0a
commit
ebc6c54c74
4 changed files with 20 additions and 4 deletions
|
|
@ -832,6 +832,7 @@ enum curl_khstat {
|
|||
CURLKHSTAT_DEFER, /* do not accept it, but we can't answer right now so
|
||||
this causes a CURLE_DEFER error but otherwise the
|
||||
connection will be left intact etc */
|
||||
CURLKHSTAT_FINE_REPLACE, /* accept and replace the wrong key*/
|
||||
CURLKHSTAT_LAST /* not for use, only a marker for last-in-list */
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue