summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-06-21 01:09:47 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-06-21 01:09:47 +0000
commit23e0f667f88fabb38fd22cedf50e81e78fb99e3e (patch)
treecc55e9a9d007a61a2f4cd1469e1b8f786ee38313 /sshd.c
parent9721e92ba8ec5e1c1c3926ce94260605b73243b3 (diff)
- markus@cvs.openbsd.org 2002/06/20 23:05:56
[servconf.c servconf.h session.c sshd.c] allow Compression=yes/no in sshd_config
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 */