Generic implementation of splitting messages

This commit is contained in:
Daniel Huigens 2022-02-11 14:21:06 +01:00 committed by Aron Wussler
parent 0ad4b054c7
commit 7103bdf2a5
4 changed files with 25 additions and 106 deletions

View file

@ -253,7 +253,7 @@ func TestDataPacketDecryption(t *testing.T) {
t.Fatal("Expected no error when unarmoring, got:", err)
}
split, err := pgpMessage.SeparateKeyAndData(1024, 0)
split, err := pgpMessage.SeparateKeyAndData(1024, 0) // Test passing parameters for backwards compatibility
if err != nil {
t.Fatal("Expected no error when splitting, got:", err)
}