forked from External/grumble
More Go 1 updates.
This commit is contained in:
parent
e46a65109f
commit
fee67fa856
7 changed files with 40 additions and 211 deletions
|
|
@ -7,6 +7,7 @@ package cryptstate
|
|||
|
||||
import (
|
||||
"crypto/aes"
|
||||
"crypto/cipher"
|
||||
"crypto/rand"
|
||||
"errors"
|
||||
"time"
|
||||
|
|
@ -31,7 +32,7 @@ type CryptState struct {
|
|||
RemoteLost uint32
|
||||
RemoteResync uint32
|
||||
|
||||
cipher *aes.Cipher
|
||||
cipher cipher.Block
|
||||
}
|
||||
|
||||
func New() (cs *CryptState, err error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue