summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sshd.c b/sshd.c
index 6133135db..e7e3c99b4 100644
--- a/sshd.c
+++ b/sshd.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshd.c,v 1.501 2018/01/23 05:12:12 djm Exp $ */ 1/* $OpenBSD: sshd.c,v 1.502 2018/01/23 05:27:21 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
@@ -446,10 +446,6 @@ sshd_exchange_identification(struct ssh *ssh, int sock_in, int sock_out)
446 logit("Client version \"%.100s\" uses unsafe RSA signature " 446 logit("Client version \"%.100s\" uses unsafe RSA signature "
447 "scheme; disabling use of RSA keys", remote_version); 447 "scheme; disabling use of RSA keys", remote_version);
448 } 448 }
449 if ((ssh->compat & SSH_BUG_DERIVEKEY) != 0) {
450 fatal("Client version \"%.100s\" uses unsafe key agreement; "
451 "refusing connection", remote_version);
452 }
453 449
454 chop(server_version_string); 450 chop(server_version_string);
455 debug("Local version string %.200s", server_version_string); 451 debug("Local version string %.200s", server_version_string);