summaryrefslogtreecommitdiffstats
path: root/crypto/openssh/servconf.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2004-02-26 10:24:07 +0000
committerdes <des@FreeBSD.org>2004-02-26 10:24:07 +0000
commit85717525b03cf8d4007682bd940f35f17fa95d51 (patch)
tree4a957939f2302ec8acad51cc3945542a02488dbf /crypto/openssh/servconf.c
parent3dc2c6ac8ecbe56fa7119a7a18b79ee76a55b93e (diff)
downloadFreeBSD-src-85717525b03cf8d4007682bd940f35f17fa95d51.zip
FreeBSD-src-85717525b03cf8d4007682bd940f35f17fa95d51.tar.gz
Pull asbesthos underpants on and disable protocol version 1 by default.
Diffstat (limited to 'crypto/openssh/servconf.c')
-rw-r--r--crypto/openssh/servconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/openssh/servconf.c b/crypto/openssh/servconf.c
index c7c1c35..7708bc7 100644
--- a/crypto/openssh/servconf.c
+++ b/crypto/openssh/servconf.c
@@ -115,7 +115,7 @@ fill_default_server_options(ServerOptions *options)
/* Standard Options */
if (options->protocol == SSH_PROTO_UNKNOWN)
- options->protocol = SSH_PROTO_1|SSH_PROTO_2;
+ options->protocol = SSH_PROTO_2;
if (options->num_host_key_files == 0) {
/* fill default hostkeys for protocols */
if (options->protocol & SSH_PROTO_1)
OpenPOWER on IntegriCloud