create handshake.CryptoSetup interface

This commit is contained in:
Marten Seemann
2016-11-07 13:04:54 +07:00
parent 7e4c695faf
commit 2b7c67d297
7 changed files with 44 additions and 27 deletions

View File

@@ -63,7 +63,7 @@ type Session struct {
unpacker unpacker
packer *packetPacker
cryptoSetup *handshake.CryptoSetup
cryptoSetup handshake.CryptoSetup
receivedPackets chan *receivedPacket
sendingScheduled chan struct{}