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
|
|
@ -278,7 +278,7 @@ func TestMDCFailDecryption(t *testing.T) {
|
|||
t.Fatal("Expected no error when unarmoring, got:", err)
|
||||
}
|
||||
|
||||
split, err := pgpMessage.SeparateKeyAndData()
|
||||
split, err := pgpMessage.SplitMessage()
|
||||
if err != nil {
|
||||
t.Fatal("Expected no error when splitting, got:", err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue