mirror of
https://github.com/curl/curl.git
synced 2024-12-27 06:59:43 +08:00
3f3b26d6fe
Long live CURLE_PEER_FAILED_VERIFICATION
35 lines
512 B
Plaintext
35 lines
512 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
SFTP
|
|
FAILURE
|
|
server key check
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
sftp
|
|
</server>
|
|
<name>
|
|
SFTP incorrect host key
|
|
</name>
|
|
<command>
|
|
--hostpubmd5 00000000000000000000000000000000 --key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%POSIX_PWD/log/irrelevant-file --insecure
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<errorcode>
|
|
60
|
|
</errorcode>
|
|
<valgrind>
|
|
disable
|
|
</valgrind>
|
|
</verify>
|
|
</testcase>
|