summaryrefslogtreecommitdiffhomepage
path: root/kex.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2008-09-29 02:23:04 +0000
committerMatt Johnston <matt@ucc.asn.au>2008-09-29 02:23:04 +0000
commit049fcf1ac572e1a13dc1281c26bbf3512c533fb7 (patch)
tree62b2290f5f6e4c0c8e0a3c0263eaa991357abb24 /kex.h
parent90f8c1fd51ac6af033d455a775dc5a1455d7d7cb (diff)
Add support for zlib@openssh.com delayed compression.
Are still advertising 'zlib' for the server, need to allow delayed-only as an option --HG-- extra : convert_revision : 319df675cc3c9b35a10b7d8357c94f33fdab1a46
Diffstat (limited to 'kex.h')
-rw-r--r--kex.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/kex.h b/kex.h
index d3dd187..a3bdc7a 100644
--- a/kex.h
+++ b/kex.h
@@ -37,6 +37,11 @@ void gen_kexdh_vals(mp_int *dh_pub, mp_int *dh_priv);
void kexdh_comb_key(mp_int *dh_pub_us, mp_int *dh_priv, mp_int *dh_pub_them,
sign_key *hostkey);
+#ifndef DISABLE_ZLIB
+int is_compress_trans();
+int is_compress_recv();
+#endif
+
void recv_msg_kexdh_init(); /* server */
void send_msg_kexdh_init(); /* client */