summaryrefslogtreecommitdiff
path: root/include/curl
diff options
context:
space:
mode:
authorMichael Musset <mickamusset@gmail.com>2020-07-15 16:39:40 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-08-24 17:26:08 +0200
commitebc6c54c74fc65abf1385f7206caf766847f4302 (patch)
tree5842a399e406989da3b2284ee1fd0bc6d6ff1549 /include/curl
parentddf47bbc0a30f8b57af7d25f852e7906979d2e28 (diff)
downloadcurl-ebc6c54c74fc65abf1385f7206caf766847f4302.tar.gz
sftp: add the option CURLKHSTAT_FINE_REPLACE
Replace the old fingerprint of the host with a new. Closes #5685
Diffstat (limited to 'include/curl')
-rw-r--r--include/curl/curl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index f4d5bf645..2366ef3c7 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -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 */
};