Fix typo in error message for internal.Unarmor()

This commit is contained in:
M. Thiercelin 2022-02-22 15:13:46 +01:00
parent 51496c37e2
commit 52f4749d87
No known key found for this signature in database
GPG key ID: 29581E7E24EBEC0A

View file

@ -12,7 +12,7 @@ func Unarmor(input string) (*armor.Block, error) {
io := strings.NewReader(input) io := strings.NewReader(input)
b, err := armor.Decode(io) b, err := armor.Decode(io)
if err != nil { if err != nil {
return nil, errors.Wrap(err, "gopenpgp: unable to armor") return nil, errors.Wrap(err, "gopenpgp: unable to unarmor")
} }
return b, nil return b, nil
} }