Mercurial > dropbear
diff common-packet.c @ 22:c1e5d9195402
merge of abac2150ee4f4031a98016241fbd136d24fed127
and ffa047425729e478a5b49b1ab0f8ec71c08a1421
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 23 Jun 2004 07:14:16 +0000 |
parents | fe6bca95afa7 |
children |
line wrap: on
line diff
--- a/common-packet.c Mon Jun 07 11:36:07 2004 +0000 +++ b/common-packet.c Wed Jun 23 07:14:16 2004 +0000 @@ -402,21 +402,6 @@ -/* 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 */