diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e35944..7ed92ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -412,7 +412,7 @@ DecryptVerifyBinaryDetached( encryptedSignatureArmored string, ) (plainData []byte, err error) ``` -- Wrappers for `EncryptSignArmoredDetached` and `EncryptSignBinaryDetached` helpers, to be usable with gomobile (that doesn't support multiple retun values). These wrappers return custom structs instead. +- Wrappers for `EncryptSignArmoredDetached` and `EncryptSignBinaryDetached` helpers, to be usable with gomobile (that doesn't support multiple return values). These wrappers return custom structs instead. ```go type EncryptSignArmoredDetachedMobileResult struct { CiphertextArmored, EncryptedSignatureArmored string @@ -727,7 +727,7 @@ models.DecryptSignedVerify struct { Message string } // Is now -// ExplicitVerifyMessage contains explicitely the signature verification error, for gomobile users +// ExplicitVerifyMessage contains explicitly the signature verification error, for gomobile users type ExplicitVerifyMessage struct { Message *crypto.PlainMessage SignatureVerificationError *crypto.SignatureVerificationError diff --git a/crypto/attachment_manual.go b/crypto/attachment_manual.go index 89e5c29..39a2957 100644 --- a/crypto/attachment_manual.go +++ b/crypto/attachment_manual.go @@ -75,7 +75,7 @@ func (keyRing *KeyRing) NewManualAttachmentProcessor( estimatedSize int, filename string, dataBuffer []byte, ) (*ManualAttachmentProcessor, error) { if len(dataBuffer) == 0 { - return nil, errors.New("gopenpgp: can't give a nil or empty buffer to process the attachement") + return nil, errors.New("gopenpgp: can't give a nil or empty buffer to process the attachment") } // forces the gc to be called often