]> Cypherpunks.ru repositories - govpn.git/commitdiff
Split long line
authorSergey Matveev <stargrave@stargrave.org>
Thu, 30 Apr 2015 13:51:22 +0000 (16:51 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Thu, 30 Apr 2015 13:51:29 +0000 (16:51 +0300)
Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
transport.go

index 08144de4675aed598d6f183d772a8861cfb05248..7be6c28c7332f4bf70a7592fddaca9f80a8ba07e 100644 (file)
@@ -185,7 +185,12 @@ func ConnListen(conn *net.UDPConn) (chan *UDPPkt, []byte, chan struct{}) {
 
 func newNonceCipher(key *[KeySize]byte) *xtea.Cipher {
        nonceKey := make([]byte, 16)
-       salsa20.XORKeyStream(nonceKey, make([]byte, KeySize), make([]byte, xtea.BlockSize), key)
+       salsa20.XORKeyStream(
+               nonceKey,
+               make([]byte, KeySize),
+               make([]byte, xtea.BlockSize),
+               key,
+       )
        ciph, err := xtea.NewCipher(nonceKey)
        if err != nil {
                panic(err)