diff options
-rw-r--r-- | kex.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: kex.c,v 1.107 2015/07/29 04:43:06 djm Exp $ */ | 1 | /* $OpenBSD: kex.c,v 1.108 2015/07/29 08:34:54 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. |
4 | * | 4 | * |
@@ -661,8 +661,8 @@ kex_choose_conf(struct ssh *ssh) | |||
661 | } | 661 | } |
662 | if ((r = choose_hostkeyalg(kex, cprop[PROPOSAL_SERVER_HOST_KEY_ALGS], | 662 | if ((r = choose_hostkeyalg(kex, cprop[PROPOSAL_SERVER_HOST_KEY_ALGS], |
663 | sprop[PROPOSAL_SERVER_HOST_KEY_ALGS])) != 0) { | 663 | sprop[PROPOSAL_SERVER_HOST_KEY_ALGS])) != 0) { |
664 | kex->failed_choice = cprop[PROPOSAL_SERVER_HOST_KEY_ALGS]; | 664 | kex->failed_choice = peer[PROPOSAL_SERVER_HOST_KEY_ALGS]; |
665 | cprop[PROPOSAL_SERVER_HOST_KEY_ALGS] = NULL; | 665 | peer[PROPOSAL_SERVER_HOST_KEY_ALGS] = NULL; |
666 | goto out; | 666 | goto out; |
667 | } | 667 | } |
668 | need = dh_need = 0; | 668 | need = dh_need = 0; |