diff options
Diffstat (limited to 'ssh.c')
-rw-r--r-- | ssh.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh.c,v 1.445 2016/07/17 04:20:16 djm Exp $ */ | 1 | /* $OpenBSD: ssh.c,v 1.446 2016/09/12 23:31: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 |
@@ -685,11 +685,11 @@ main(int ac, char **av) | |||
685 | else if (strcmp(optarg, "kex") == 0) | 685 | else if (strcmp(optarg, "kex") == 0) |
686 | cp = kex_alg_list('\n'); | 686 | cp = kex_alg_list('\n'); |
687 | else if (strcmp(optarg, "key") == 0) | 687 | else if (strcmp(optarg, "key") == 0) |
688 | cp = key_alg_list(0, 0); | 688 | cp = sshkey_alg_list(0, 0, '\n'); |
689 | else if (strcmp(optarg, "key-cert") == 0) | 689 | else if (strcmp(optarg, "key-cert") == 0) |
690 | cp = key_alg_list(1, 0); | 690 | cp = sshkey_alg_list(1, 0, '\n'); |
691 | else if (strcmp(optarg, "key-plain") == 0) | 691 | else if (strcmp(optarg, "key-plain") == 0) |
692 | cp = key_alg_list(0, 1); | 692 | cp = sshkey_alg_list(0, 1, '\n'); |
693 | else if (strcmp(optarg, "protocol-version") == 0) { | 693 | else if (strcmp(optarg, "protocol-version") == 0) { |
694 | #ifdef WITH_SSH1 | 694 | #ifdef WITH_SSH1 |
695 | cp = xstrdup("1\n2"); | 695 | cp = xstrdup("1\n2"); |