Align 64-bit atomics
64-bit varibles that are accessed using the Go atomic functions must be 8-byte aligned on 32-bit platforms. Otherwise there are crashes.
This commit is contained in:
parent
6cecaf3157
commit
099219be2a
@ -14,10 +14,10 @@ import (
|
||||
*/
|
||||
|
||||
type KeyPair struct {
|
||||
sendNonce uint64
|
||||
send cipher.AEAD
|
||||
receive cipher.AEAD
|
||||
replayFilter ReplayFilter
|
||||
sendNonce uint64
|
||||
isInitiator bool
|
||||
created time.Time
|
||||
localIndex uint32
|
||||
|
Loading…
Reference in New Issue
Block a user