summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sshd.c b/sshd.c
index d32e580c2..a12e9211f 100644
--- a/sshd.c
+++ b/sshd.c
@@ -40,7 +40,7 @@
40 */ 40 */
41 41
42#include "includes.h" 42#include "includes.h"
43RCSID("$OpenBSD: sshd.c,v 1.176 2001/03/22 20:22:55 deraadt Exp $"); 43RCSID("$OpenBSD: sshd.c,v 1.177 2001/03/23 11:04:07 djm Exp $");
44 44
45#include <openssl/dh.h> 45#include <openssl/dh.h>
46#include <openssl/bn.h> 46#include <openssl/bn.h>
@@ -1450,6 +1450,9 @@ do_ssh2_kex(void)
1450 } 1450 }
1451 myproposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = list_hostkey_types(); 1451 myproposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = list_hostkey_types();
1452 1452
1453 myproposal[PROPOSAL_ENC_ALGS_STOC] =
1454 compat_cipher_proposal(myproposal[PROPOSAL_ENC_ALGS_STOC]);
1455
1453 server_kexinit = kex_init(myproposal); 1456 server_kexinit = kex_init(myproposal);
1454 client_kexinit = xmalloc(sizeof(*client_kexinit)); 1457 client_kexinit = xmalloc(sizeof(*client_kexinit));
1455 buffer_init(client_kexinit); 1458 buffer_init(client_kexinit);