summaryrefslogtreecommitdiffhomepage
path: root/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'pkg')
-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"