diff options
Diffstat (limited to 'sshconnect.c')
-rw-r--r-- | sshconnect.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sshconnect.c b/sshconnect.c index b492ce915..791b31c12 100644 --- a/sshconnect.c +++ b/sshconnect.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sshconnect.c,v 1.242 2013/12/29 05:57:02 djm Exp $ */ | 1 | /* $OpenBSD: sshconnect.c,v 1.243 2013/12/30 23:52:27 djm 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 |
@@ -662,6 +662,9 @@ ssh_exchange_identification(int timeout_ms) | |||
662 | fatal("Protocol major versions differ: %d vs. %d", | 662 | fatal("Protocol major versions differ: %d vs. %d", |
663 | (options.protocol & SSH_PROTO_2) ? PROTOCOL_MAJOR_2 : PROTOCOL_MAJOR_1, | 663 | (options.protocol & SSH_PROTO_2) ? PROTOCOL_MAJOR_2 : PROTOCOL_MAJOR_1, |
664 | remote_major); | 664 | remote_major); |
665 | if ((datafellows & SSH_BUG_RSASIGMD5) != 0) | ||
666 | logit("Server version \"%.100s\" uses unsafe RSA signature " | ||
667 | "scheme; disabling use of RSA keys", remote_version); | ||
665 | if (!client_banner_sent) | 668 | if (!client_banner_sent) |
666 | send_client_banner(connection_out, minor1); | 669 | send_client_banner(connection_out, minor1); |
667 | chop(server_version_string); | 670 | chop(server_version_string); |