diff options
Diffstat (limited to 'readconf.c')
-rw-r--r-- | readconf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/readconf.c b/readconf.c index 33d40e8c3..e28ac484b 100644 --- a/readconf.c +++ b/readconf.c | |||
@@ -12,7 +12,7 @@ | |||
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include "includes.h" | 14 | #include "includes.h" |
15 | RCSID("$OpenBSD: readconf.c,v 1.67 2001/03/10 17:51:04 markus Exp $"); | 15 | RCSID("$OpenBSD: readconf.c,v 1.68 2001/03/19 17:07:23 markus Exp $"); |
16 | 16 | ||
17 | #include "ssh.h" | 17 | #include "ssh.h" |
18 | #include "xmalloc.h" | 18 | #include "xmalloc.h" |
@@ -805,7 +805,7 @@ fill_default_options(Options * options) | |||
805 | /* options->ciphers, default set in myproposals.h */ | 805 | /* options->ciphers, default set in myproposals.h */ |
806 | /* options->macs, default set in myproposals.h */ | 806 | /* options->macs, default set in myproposals.h */ |
807 | if (options->protocol == SSH_PROTO_UNKNOWN) | 807 | if (options->protocol == SSH_PROTO_UNKNOWN) |
808 | options->protocol = SSH_PROTO_1|SSH_PROTO_2; | 808 | options->protocol = SSH_PROTO_1|SSH_PROTO_2|SSH_PROTO_1_PREFERRED; |
809 | if (options->num_identity_files == 0) { | 809 | if (options->num_identity_files == 0) { |
810 | if (options->protocol & SSH_PROTO_1) { | 810 | if (options->protocol & SSH_PROTO_1) { |
811 | len = 2 + strlen(_PATH_SSH_CLIENT_IDENTITY) + 1; | 811 | len = 2 + strlen(_PATH_SSH_CLIENT_IDENTITY) + 1; |