Generic implementation of splitting messages
This commit is contained in:
parent
0ad4b054c7
commit
7103bdf2a5
4 changed files with 25 additions and 106 deletions
|
|
@ -96,7 +96,7 @@ func (keyRing *KeyRing) newAttachmentProcessor(
|
|||
message := &PGPMessage{
|
||||
Data: ciphertext,
|
||||
}
|
||||
split, splitError := message.SeparateKeyAndData(estimatedSize, garbageCollector)
|
||||
split, splitError := message.SeparateKeyAndData()
|
||||
if attachmentProc.err == nil {
|
||||
attachmentProc.err = splitError
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue