summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sshd.c b/sshd.c
index 9ac43a882..feea3ce2c 100644
--- a/sshd.c
+++ b/sshd.c
@@ -42,7 +42,7 @@
42 */ 42 */
43 43
44#include "includes.h" 44#include "includes.h"
45RCSID("$OpenBSD: sshd.c,v 1.245 2002/06/11 05:46:20 mpech Exp $"); 45RCSID("$OpenBSD: sshd.c,v 1.246 2002/06/20 23:05:56 markus Exp $");
46 46
47#include <openssl/dh.h> 47#include <openssl/dh.h>
48#include <openssl/bn.h> 48#include <openssl/bn.h>
@@ -1765,6 +1765,10 @@ do_ssh2_kex(void)
1765 myproposal[PROPOSAL_MAC_ALGS_CTOS] = 1765 myproposal[PROPOSAL_MAC_ALGS_CTOS] =
1766 myproposal[PROPOSAL_MAC_ALGS_STOC] = options.macs; 1766 myproposal[PROPOSAL_MAC_ALGS_STOC] = options.macs;
1767 } 1767 }
1768 if (!options.compression) {
1769 myproposal[PROPOSAL_COMP_ALGS_CTOS] =
1770 myproposal[PROPOSAL_COMP_ALGS_STOC] = "none";
1771 }
1768 myproposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = list_hostkey_types(); 1772 myproposal[PROPOSAL_SERVER_HOST_KEY_ALGS] = list_hostkey_types();
1769 1773
1770 /* start key exchange */ 1774 /* start key exchange */