From 59f9316f51ce3cb470200b0cfe847116a0583d25 Mon Sep 17 00:00:00 2001 From: Mathias Hall-Andersen Date: Thu, 6 Jul 2017 15:43:55 +0200 Subject: Initial working full exchange The implementation is now capable of connecting to another wireguard instance, complete a handshake and exchange transport messages. --- src/keypair.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/keypair.go') diff --git a/src/keypair.go b/src/keypair.go index 0fac5cb..3caa0c8 100644 --- a/src/keypair.go +++ b/src/keypair.go @@ -7,8 +7,7 @@ import ( ) type KeyPair struct { - recv cipher.AEAD - recvNonce uint64 + receive cipher.AEAD send cipher.AEAD sendNonce uint64 isInitiator bool -- cgit v1.2.3