aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/gpg/gpgbin/decrypt.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/crypto/gpg/gpgbin/decrypt.go')
-rw-r--r--lib/crypto/gpg/gpgbin/decrypt.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/crypto/gpg/gpgbin/decrypt.go b/lib/crypto/gpg/gpgbin/decrypt.go
index 09626303..86d5575e 100644
--- a/lib/crypto/gpg/gpgbin/decrypt.go
+++ b/lib/crypto/gpg/gpgbin/decrypt.go
@@ -3,7 +3,6 @@ package gpgbin
import (
"bytes"
"io"
- "io/ioutil"
"git.sr.ht/~rjarry/aerc/models"
)
@@ -12,7 +11,7 @@ import (
// the signature is also verified
func Decrypt(r io.Reader) (*models.MessageDetails, error) {
md := new(models.MessageDetails)
- orig, err := ioutil.ReadAll(r)
+ orig, err := io.ReadAll(r)
if err != nil {
return md, err
}