Skip to content

Commit b33f832

Browse files
committed
all: replace io/ioutil with io and os package
Signed-off-by: cui fliter <[email protected]>
1 parent b3584d3 commit b33f832

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

openpgp/packet/opaque.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ package packet
66

77
import (
88
"bytes"
9-
"golang.org/x/crypto/openpgp/errors"
109
"io"
10+
11+
"golang.org/x/crypto/openpgp/errors"
1112
)
1213

1314
// OpaquePacket represents an OpenPGP packet as raw, unparsed data. This is

ssh/cipher.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ import (
1313
"encoding/binary"
1414
"errors"
1515
"fmt"
16-
"golang.org/x/crypto/chacha20"
17-
"golang.org/x/crypto/internal/poly1305"
1816
"hash"
1917
"io"
18+
19+
"golang.org/x/crypto/chacha20"
20+
"golang.org/x/crypto/internal/poly1305"
2021
)
2122

2223
const (

0 commit comments

Comments
 (0)