make initial connection

This commit is contained in:
Zack Scholl 2019-04-30 11:35:02 -06:00
parent ce45c53b38
commit 8f816304f9

View File

@ -137,6 +137,7 @@ func New(ops Options) (c *Client, err error) {
} else {
c.conn[0].Send([]byte("hello"))
}
log.Debug("exchanged header message")
// use default key (no encryption, until PAKE succeeds)
c.Key, err = crypt.New(nil, nil)