summaryrefslogtreecommitdiff
path: root/kex.c
diff options
context:
space:
mode:
Diffstat (limited to 'kex.c')
-rw-r--r--kex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kex.c b/kex.c
index 5b42518d3..8ac00299c 100644
--- a/kex.c
+++ b/kex.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: kex.c,v 1.129 2017/03/10 03:45:40 dtucker Exp $ */ 1/* $OpenBSD: kex.c,v 1.130 2017/03/10 04:07:20 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 *
@@ -350,7 +350,7 @@ kex_send_ext_info(struct ssh *ssh)
350 int r; 350 int r;
351 char *algs; 351 char *algs;
352 352
353 if ((algs = sshkey_alg_list(0, 1, ',')) == NULL) 353 if ((algs = sshkey_alg_list(0, 1, 1, ',')) == NULL)
354 return SSH_ERR_ALLOC_FAIL; 354 return SSH_ERR_ALLOC_FAIL;
355 if ((r = sshpkt_start(ssh, SSH2_MSG_EXT_INFO)) != 0 || 355 if ((r = sshpkt_start(ssh, SSH2_MSG_EXT_INFO)) != 0 ||
356 (r = sshpkt_put_u32(ssh, 1)) != 0 || 356 (r = sshpkt_put_u32(ssh, 1)) != 0 ||