summaryrefslogtreecommitdiffstats
path: root/ipc/tests/gpg-agent.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/tests/gpg-agent.rs')
-rw-r--r--ipc/tests/gpg-agent.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/tests/gpg-agent.rs b/ipc/tests/gpg-agent.rs
index bc875641..8ec4482d 100644
--- a/ipc/tests/gpg-agent.rs
+++ b/ipc/tests/gpg-agent.rs
@@ -298,7 +298,7 @@ fn decrypt(also_try_explicit_async: bool) -> openpgp::Result<()> {
// We want to encrypt a literal data packet.
let encryptor =
- Encryptor::for_recipients(message, recipients)
+ Encryptor2::for_recipients(message, recipients)
.build().unwrap();
// Emit a literal data packet.