diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-23 02:32:02 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-23 03:58:27 +0200 |
commit | 5a2228a5c910ada948677f1dd3fcc59f74e5cb20 (patch) | |
tree | bafb31cbcc18221e2299f8fef21d9c2f4471f706 /keypair.go | |
parent | 0a63188afab1dd49380f916963307f9b2efdcac1 (diff) |
Move replay into subpackage
Diffstat (limited to 'keypair.go')
-rw-r--r-- | keypair.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |