mirror of git://anongit.mindrot.org/openssh.git
- (djm) OpenBSD CVS Sync:
- djm@cvs.openbsd.org 2001/01/30 15:48:53 [sshconnect.c] Make warning message a little more consistent. ok markus@
This commit is contained in:
parent
b6b4a7a29a
commit
3c4659cb6f
|
@ -1,3 +1,9 @@
|
|||
20000131
|
||||
- (djm) OpenBSD CVS Sync:
|
||||
- djm@cvs.openbsd.org 2001/01/30 15:48:53
|
||||
[sshconnect.c]
|
||||
Make warning message a little more consistent. ok markus@
|
||||
|
||||
20000130
|
||||
- (djm) OpenBSD CVS Sync:
|
||||
- markus@cvs.openbsd.org 2001/01/29 09:55:37
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*/
|
||||
|
||||
#include "includes.h"
|
||||
RCSID("$OpenBSD: sshconnect.c,v 1.91 2001/01/21 19:05:59 markus Exp $");
|
||||
RCSID("$OpenBSD: sshconnect.c,v 1.92 2001/01/30 22:48:52 djm Exp $");
|
||||
|
||||
#include <openssl/bn.h>
|
||||
|
||||
|
@ -713,7 +713,8 @@ check_host_key(char *host, struct sockaddr *hostaddr, Key *host_key,
|
|||
if (options.strict_host_key_checking == 1) {
|
||||
fatal("Exiting, you have requested strict checking.");
|
||||
} else if (options.strict_host_key_checking == 2) {
|
||||
if (!read_yes_or_no("Continue?", -1))
|
||||
if (!read_yes_or_no("Are you sure you want " \
|
||||
"to continue connecting (yes/no)? ", -1))
|
||||
fatal("Aborted by user!\n");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue