Remove JSON handling functions; export KeyRing.ReadFrom (#24)
This commit is contained in:
parent
52ecc1ce36
commit
6136f75860
6 changed files with 22 additions and 215 deletions
|
|
@ -164,7 +164,7 @@ func TestMultipleKeyMessageEncryption(t *testing.T) {
|
|||
var message = NewPlainMessageFromString("plain text")
|
||||
|
||||
testPublicKeyRing, _ = pgp.BuildKeyRingArmored(readTestFile("keyring_publicKey", false))
|
||||
err = testPublicKeyRing.readFrom(strings.NewReader(readTestFile("mime_publicKey", false)), true)
|
||||
err = testPublicKeyRing.ReadFrom(strings.NewReader(readTestFile("mime_publicKey", false)), true)
|
||||
if err != nil {
|
||||
t.Fatal("Expected no error adding second public key, got:", err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue