refactor: Connections don't need to know about overlay crypto

This commit is contained in:
Matthias Radestock committed 2015-11-07 16:10:00 +00:00
1 parent 519aef86fa
commit 006262ed8f
4 files changed
+11 -20

No files matched your search

+2 -2
View File
@@ -46,8 +46,8 @@ type ForwarderParams struct {
// Unique identifier for this connection
ConnUID uint64
// Crypto bits. Nil if not encrypting
Crypto *OverlayCrypto
// Session key, if connection is encrypted; nil otherwise
SessionKey *[32]byte
// Function to send a control message to the counterpart
// forwarder.