Fixed login timeout term handling/restoreState * NOTE breaking change to exit codes

Also some value => ref fixes for Conn receiver methods

Signed-off-by: Russ Magee <rmagee@gmail.com>
This commit is contained in:
Russ Magee 2020-07-21 21:52:58 -07:00
parent 769df46fb1
commit 69a3fb5d08
8 changed files with 56 additions and 18 deletions

View file

@ -59,7 +59,7 @@ func expandKeyMat(keymat []byte, blocksize int) []byte {
/* Support functionality to set up encryption after a channel has
been negotiated via xsnet.go
*/
func (hc Conn) getStream(keymat []byte) (rc cipher.Stream, mc hash.Hash, err error) {
func (hc *Conn) getStream(keymat []byte) (rc cipher.Stream, mc hash.Hash, err error) {
var key []byte
var block cipher.Block
var iv []byte