diff options
Diffstat (limited to 'openpgp/packet/userattribute.go')
| -rw-r--r-- | openpgp/packet/userattribute.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/openpgp/packet/userattribute.go b/openpgp/packet/userattribute.go index d19ffbc..ff7ef53 100644 --- a/openpgp/packet/userattribute.go +++ b/openpgp/packet/userattribute.go @@ -9,7 +9,6 @@ import ( "image" "image/jpeg" "io" - "io/ioutil" ) const UserAttrImageSubpacket = 1 @@ -56,7 +55,7 @@ func NewUserAttribute(contents ...*OpaqueSubpacket) *UserAttribute { func (uat *UserAttribute) parse(r io.Reader) (err error) { // RFC 4880, section 5.13 - b, err := ioutil.ReadAll(r) + b, err := io.ReadAll(r) if err != nil { return } |
