[codespell] Fix typos (#190)
This commit is contained in:
parent
7fa828017a
commit
1791c07702
2 changed files with 3 additions and 3 deletions
|
|
@ -412,7 +412,7 @@ DecryptVerifyBinaryDetached(
|
||||||
encryptedSignatureArmored string,
|
encryptedSignatureArmored string,
|
||||||
) (plainData []byte, err error)
|
) (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
|
```go
|
||||||
type EncryptSignArmoredDetachedMobileResult struct {
|
type EncryptSignArmoredDetachedMobileResult struct {
|
||||||
CiphertextArmored, EncryptedSignatureArmored string
|
CiphertextArmored, EncryptedSignatureArmored string
|
||||||
|
|
@ -727,7 +727,7 @@ models.DecryptSignedVerify struct {
|
||||||
Message string
|
Message string
|
||||||
}
|
}
|
||||||
// Is now
|
// 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 {
|
type ExplicitVerifyMessage struct {
|
||||||
Message *crypto.PlainMessage
|
Message *crypto.PlainMessage
|
||||||
SignatureVerificationError *crypto.SignatureVerificationError
|
SignatureVerificationError *crypto.SignatureVerificationError
|
||||||
|
|
|
||||||
|
|
@ -75,7 +75,7 @@ func (keyRing *KeyRing) NewManualAttachmentProcessor(
|
||||||
estimatedSize int, filename string, dataBuffer []byte,
|
estimatedSize int, filename string, dataBuffer []byte,
|
||||||
) (*ManualAttachmentProcessor, error) {
|
) (*ManualAttachmentProcessor, error) {
|
||||||
if len(dataBuffer) == 0 {
|
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
|
// forces the gc to be called often
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue