summaryrefslogtreecommitdiffhomepage
path: root/keypair.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-05-23 02:32:02 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-05-23 03:58:27 +0200
commit5a2228a5c910ada948677f1dd3fcc59f74e5cb20 (patch)
treebafb31cbcc18221e2299f8fef21d9c2f4471f706 /keypair.go
parent0a63188afab1dd49380f916963307f9b2efdcac1 (diff)
Move replay into subpackage
Diffstat (limited to 'keypair.go')
-rw-r--r--keypair.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/keypair.go b/keypair.go
index be7600b..face310 100644
--- a/keypair.go
+++ b/keypair.go
@@ -7,6 +7,7 @@
package main
import (
+ "./replay"
"crypto/cipher"
"sync"
"time"
@@ -23,7 +24,7 @@ type Keypair struct {
sendNonce uint64
send cipher.AEAD
receive cipher.AEAD
- replayFilter ReplayFilter
+ replayFilter replay.ReplayFilter
isInitiator bool
created time.Time
localIndex uint32