Create SplitMessage() to replace SeparateKeyAndData(...int)
Keep SeparateKeyAndData(_ int, _ int) for backwards compatibility with go-mobile bindings. Deprecate SeparateKeyAndData in favor of SplitMessage.
This commit is contained in:
parent
34904b7f9f
commit
e1f6ea603a
4 changed files with 15 additions and 8 deletions
|
|
@ -96,7 +96,7 @@ func (keyRing *KeyRing) newAttachmentProcessor(
|
|||
message := &PGPMessage{
|
||||
Data: ciphertext,
|
||||
}
|
||||
split, splitError := message.SeparateKeyAndData()
|
||||
split, splitError := message.SplitMessage()
|
||||
if attachmentProc.err == nil {
|
||||
attachmentProc.err = splitError
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue