summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-03-24 00:35:19 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-03-24 00:35:19 +0000
commitc8530c7f5c6775443a1c4818f5edb8a74e59c0e6 (patch)
tree3ce46d0fc1f607164822bff616b0890a4b3758c8 /sshd.c
parentb94f8b2bcb41e3ecb345bcbd710ff8725f5f0e1e (diff)
- djm@cvs.openbsd.org 2001/03/23 11:04:07
[compat.c compat.h sshconnect2.c sshd.c] Compat for OpenSSH with broken Rijndael/AES. ok markus@
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);