Loading lib/ssh-libssh.c +1 −0 Original line number Diff line number Diff line Loading @@ -663,6 +663,7 @@ static CURLcode myssh_statemach_act(struct connectdata *conn, bool *block) if(rc != SSH_OK) { failf(data, "Could not load private key file %s", data->set.str[STRING_SSH_PRIVATE_KEY]); MOVE_TO_ERROR_STATE(CURLE_LOGIN_DENIED); break; } Loading tests/data/Makefile.inc +1 −1 Original line number Diff line number Diff line Loading @@ -83,7 +83,7 @@ test617 test618 test619 test620 test621 test622 test623 test624 test625 \ test626 test627 test628 test629 test630 test631 test632 test633 test634 \ test635 test636 test637 test638 test639 test640 test641 test642 \ test643 test644 test645 test646 test647 test648 test649 test650 test651 \ test652 test653 test654 test655 \ test652 test653 test654 test655 test656 \ \ test700 test701 test702 test703 test704 test705 test706 test707 test708 \ test709 test710 test711 test712 test713 test714 test715 \ Loading tests/data/test656 0 → 100644 +33 −0 Original line number Diff line number Diff line <testcase> <info> <keywords> SFTP FAILURE </keywords> </info> # # Client-side <client> <server> sftp </server> <name> SFTP retrieval with nonexistent private key file </name> <command> --key DOES_NOT_EXIST --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%PWD/not-a-valid-file-moooo --insecure --connect-timeout 8 </command> </client> # # Verify data after the test has been "shot" <verify> <valgrind> disable </valgrind> <errorcode> 67 </errorcode> </verify> </testcase> Loading
lib/ssh-libssh.c +1 −0 Original line number Diff line number Diff line Loading @@ -663,6 +663,7 @@ static CURLcode myssh_statemach_act(struct connectdata *conn, bool *block) if(rc != SSH_OK) { failf(data, "Could not load private key file %s", data->set.str[STRING_SSH_PRIVATE_KEY]); MOVE_TO_ERROR_STATE(CURLE_LOGIN_DENIED); break; } Loading
tests/data/Makefile.inc +1 −1 Original line number Diff line number Diff line Loading @@ -83,7 +83,7 @@ test617 test618 test619 test620 test621 test622 test623 test624 test625 \ test626 test627 test628 test629 test630 test631 test632 test633 test634 \ test635 test636 test637 test638 test639 test640 test641 test642 \ test643 test644 test645 test646 test647 test648 test649 test650 test651 \ test652 test653 test654 test655 \ test652 test653 test654 test655 test656 \ \ test700 test701 test702 test703 test704 test705 test706 test707 test708 \ test709 test710 test711 test712 test713 test714 test715 \ Loading
tests/data/test656 0 → 100644 +33 −0 Original line number Diff line number Diff line <testcase> <info> <keywords> SFTP FAILURE </keywords> </info> # # Client-side <client> <server> sftp </server> <name> SFTP retrieval with nonexistent private key file </name> <command> --key DOES_NOT_EXIST --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%PWD/not-a-valid-file-moooo --insecure --connect-timeout 8 </command> </client> # # Verify data after the test has been "shot" <verify> <valgrind> disable </valgrind> <errorcode> 67 </errorcode> </verify> </testcase>