mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
make initial connection
This commit is contained in:
parent
ce45c53b38
commit
8f816304f9
1 changed files with 1 additions and 0 deletions
|
@ -137,6 +137,7 @@ func New(ops Options) (c *Client, err error) {
|
||||||
} else {
|
} else {
|
||||||
c.conn[0].Send([]byte("hello"))
|
c.conn[0].Send([]byte("hello"))
|
||||||
}
|
}
|
||||||
|
log.Debug("exchanged header message")
|
||||||
|
|
||||||
// use default key (no encryption, until PAKE succeeds)
|
// use default key (no encryption, until PAKE succeeds)
|
||||||
c.Key, err = crypt.New(nil, nil)
|
c.Key, err = crypt.New(nil, nil)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue