summaryrefslogtreecommitdiffhomepage
path: root/common-packet.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2004-06-23 07:14:16 +0000
committerMatt Johnston <matt@ucc.asn.au>2004-06-23 07:14:16 +0000
commit09b50641ff656b22cf1f24e43d8504a1a7f3afec (patch)
tree287484eb2d40c1dd174f1073a16dd959952ac25a /common-packet.c
parent8977fbbd97d30ed5a064e2f514abfeb22b7f05dd (diff)
parent18bfb4dd4812ab1e30bb4b2ecb6674ea2d368322 (diff)
merge of abac2150ee4f4031a98016241fbd136d24fed127
and ffa047425729e478a5b49b1ab0f8ec71c08a1421 --HG-- extra : convert_revision : e9b7d4eda64d70aff736f48cc8dea680b153139b
Diffstat (limited to 'common-packet.c')
-rw-r--r--common-packet.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/common-packet.c b/common-packet.c
index 4ca6f8f..39387bf 100644
--- a/common-packet.c
+++ b/common-packet.c
@@ -402,21 +402,6 @@ static buffer* buf_decompress(buffer* buf, unsigned int len) {
-/* This must be called directly after receiving the unimplemented packet.
- * Isn't the most clean implementation, it relies on packet processing
- * occurring directly after decryption. This is reasonably valid, since
- * there is only a single decryption buffer */
-void recv_unimplemented() {
-
- CHECKCLEARTOWRITE();
-
- buf_putbyte(ses.writepayload, SSH_MSG_UNIMPLEMENTED);
- /* the decryption routine increments the sequence number, we must
- * decrement */
- buf_putint(ses.writepayload, ses.recvseq - 1);
-
- encrypt_packet();
-}
/* encrypt the writepayload, putting into writebuf, ready for write_packet()
* to put on the wire */