aboutsummaryrefslogtreecommitdiffstats
path: root/device/keypair.go
diff options
context:
space:
mode:
authorRiobard Zhan <me@riobard.com>2020-09-10 02:06:44 +0800
committerJason A. Donenfeld <Jason@zx2c4.com>2020-10-14 10:46:00 +0200
commit2c143dce0ff55feb35c7f6b9199479db88909903 (patch)
treebb22f8ee6531aaedb338caf56f404ad0d96c96e2 /device/keypair.go
parentreplay: clean up internals and better documentation (diff)
downloadwireguard-go-2c143dce0ff55feb35c7f6b9199479db88909903.tar.xz
wireguard-go-2c143dce0ff55feb35c7f6b9199479db88909903.zip
replay: minor API changes to more idiomatic Go
Signed-off-by: Riobard Zhan <me@riobard.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'device/keypair.go')
-rw-r--r--device/keypair.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/device/keypair.go b/device/keypair.go
index 2f2f222..254e696 100644
--- a/device/keypair.go
+++ b/device/keypair.go
@@ -26,7 +26,7 @@ type Keypair struct {
sendNonce uint64
send cipher.AEAD
receive cipher.AEAD
- replayFilter replay.ReplayFilter
+ replayFilter replay.Filter
isInitiator bool
created time.Time
localIndex uint32