summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2018-12-21 14:28:20 -0800
committerShentubot <shentubot@google.com>2018-12-21 14:29:35 -0800
commit71f0d5108bfcfd6be2a61dc32579973f141f97f3 (patch)
tree49ea859300fdffc5efd12d1f1111ff6576cf370f
parentb515556519a44d4b6a23590e236bb4f30726b5bf (diff)
Internal Change
PiperOrigin-RevId: 226542979 Change-Id: Ife11ebd0a85b8a63078e6daa71b4a99a82080ac9
-rw-r--r--pkg/compressio/compressio.go4
-rw-r--r--pkg/state/statefile/statefile.go4
-rw-r--r--pkg/tcpip/transport/tcp/accept.go2
3 files changed, 5 insertions, 5 deletions
diff --git a/pkg/compressio/compressio.go b/pkg/compressio/compressio.go
index 205536812..4daaa82b6 100644
--- a/pkg/compressio/compressio.go
+++ b/pkg/compressio/compressio.go
@@ -46,14 +46,14 @@ package compressio
import (
"bytes"
"compress/flate"
+ "crypto/hmac"
+ "crypto/sha256"
"errors"
"hash"
"io"
"runtime"
"sync"
- "crypto/hmac"
- "crypto/sha256"
"gvisor.googlesource.com/gvisor/pkg/binary"
)
diff --git a/pkg/state/statefile/statefile.go b/pkg/state/statefile/statefile.go
index 99158fd02..c21e3bb0e 100644
--- a/pkg/state/statefile/statefile.go
+++ b/pkg/state/statefile/statefile.go
@@ -46,6 +46,8 @@ package statefile
import (
"bytes"
"compress/flate"
+ "crypto/hmac"
+ "crypto/sha256"
"encoding/json"
"fmt"
"hash"
@@ -53,8 +55,6 @@ import (
"strings"
"time"
- "crypto/hmac"
- "crypto/sha256"
"gvisor.googlesource.com/gvisor/pkg/binary"
"gvisor.googlesource.com/gvisor/pkg/compressio"
)
diff --git a/pkg/tcpip/transport/tcp/accept.go b/pkg/tcpip/transport/tcp/accept.go
index 32f65367c..d0e1d6782 100644
--- a/pkg/tcpip/transport/tcp/accept.go
+++ b/pkg/tcpip/transport/tcp/accept.go
@@ -15,13 +15,13 @@
package tcp
import (
+ "crypto/sha1"
"encoding/binary"
"hash"
"io"
"sync"
"time"
- "crypto/sha1"
"gvisor.googlesource.com/gvisor/pkg/rand"
"gvisor.googlesource.com/gvisor/pkg/sleep"
"gvisor.googlesource.com/gvisor/pkg/tcpip"