Toralf Wittner 7fb09fbf20
secio: keep ciphertext if start_send is not ready (#494)
* secio: keep ciphertext if start_send is not ready

Otherwise ciphertext may be thrown away and once sent, the cipher states
have diverged, resulting in nonsense messages on decryption side.

* Also attempt to send pending data `Sink::close`.

* Inline `send_pending`.
2018-09-18 22:51:13 +02:00
..
2018-09-06 09:54:35 +02:00
2018-09-17 15:01:37 +02:00
2018-09-06 09:54:35 +02:00