summaryrefslogtreecommitdiff
path: root/sshconnect.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshconnect.c')
-rw-r--r--sshconnect.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sshconnect.c b/sshconnect.c
index 064bb74b3..45ba6ed12 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshconnect.c,v 1.229 2010/11/29 23:45:51 djm Exp $ */ 1/* $OpenBSD: sshconnect.c,v 1.230 2010/12/14 11:59:06 markus Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -1234,7 +1234,6 @@ static void
1234warn_changed_key(Key *host_key) 1234warn_changed_key(Key *host_key)
1235{ 1235{
1236 char *fp; 1236 char *fp;
1237 const char *type = key_type(host_key);
1238 1237
1239 fp = key_fingerprint(host_key, SSH_FP_MD5, SSH_FP_HEX); 1238 fp = key_fingerprint(host_key, SSH_FP_MD5, SSH_FP_HEX);
1240 1239
@@ -1243,9 +1242,9 @@ warn_changed_key(Key *host_key)
1243 error("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@"); 1242 error("@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@");
1244 error("IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!"); 1243 error("IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!");
1245 error("Someone could be eavesdropping on you right now (man-in-the-middle attack)!"); 1244 error("Someone could be eavesdropping on you right now (man-in-the-middle attack)!");
1246 error("It is also possible that the %s host key has just been changed.", type); 1245 error("It is also possible that a host key has just been changed.");
1247 error("The fingerprint for the %s key sent by the remote host is\n%s.", 1246 error("The fingerprint for the %s key sent by the remote host is\n%s.",
1248 type, fp); 1247 key_type(host_key), fp);
1249 error("Please contact your system administrator."); 1248 error("Please contact your system administrator.");
1250 1249
1251 xfree(fp); 1250 xfree(fp);