diff options
Diffstat (limited to 'ipc/tests/gpg-agent.rs')
-rw-r--r-- | ipc/tests/gpg-agent.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipc/tests/gpg-agent.rs b/ipc/tests/gpg-agent.rs index dab1fb74..2dd5bb2b 100644 --- a/ipc/tests/gpg-agent.rs +++ b/ipc/tests/gpg-agent.rs @@ -111,7 +111,7 @@ fn sign() { // Emit a literal data packet. let mut literal_writer = LiteralWriter::new( - signer, None, None, None).unwrap(); + signer).build().unwrap(); // Sign the data. literal_writer.write_all(MESSAGE.as_bytes()).unwrap(); @@ -225,7 +225,7 @@ fn decrypt() { // Emit a literal data packet. let mut literal_writer = LiteralWriter::new( - encryptor, None, None, None).unwrap(); + encryptor).build().unwrap(); // Encrypt the data. literal_writer.write_all(MESSAGE.as_bytes()).unwrap(); |