Skip to content

Commit

Permalink
all: replace io/ioutil with io and os package
Browse files Browse the repository at this point in the history
Signed-off-by: cui fliter <imcusg@gmail.com>
  • Loading branch information
cuishuang committed Sep 16, 2022
1 parent b3584d3 commit b33f832
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion openpgp/packet/opaque.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ package packet

import (
"bytes"
"golang.org/x/crypto/openpgp/errors"
"io"

"golang.org/x/crypto/openpgp/errors"
)

// OpaquePacket represents an OpenPGP packet as raw, unparsed data. This is
Expand Down
5 changes: 3 additions & 2 deletions ssh/cipher.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ import (
"encoding/binary"
"errors"
"fmt"
"golang.org/x/crypto/chacha20"
"golang.org/x/crypto/internal/poly1305"
"hash"
"io"

"golang.org/x/crypto/chacha20"
"golang.org/x/crypto/internal/poly1305"
)

const (
Expand Down

0 comments on commit b33f832

Please sign in to comment.