Differences From Artifact [ea3cf20467]:
- File ssh.c — part of check-in [b95f1de6c0] at 2007-01-17 12:38:45 on branch trunk — Flag user cancellation of authentication as a clean exit, so that it will close the window even in `close window only on clean exit' mode. Also, while I'm here, arrange a suitable exit code for "exit-signal". (user: simon size: 269777)
To Artifact [a1b1842c95]:
- File ssh.c — part of check-in [fe98cc1cc0] at 2007-01-20 14:05:46 on branch trunk — Fix compiles on GCC 3.3, which doesn't know about assert(0); (user: ben size: 269834)
| ︙ | |||
3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 | 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 | + |
break; /* go and try something else */
} else if (ret == -1) {
c_write_str(ssh, "Wrong passphrase.\r\n"); /* FIXME */
got_passphrase = FALSE;
/* and try again */
} else {
assert(0 && "unexpected return from loadrsakey()");
got_passphrase = FALSE; /* placate optimisers */
}
}
if (got_passphrase) {
/*
* Send a public key attempt.
|
| ︙ |