summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-12-04 13:07:24 +0100
committerJustus Winter <justus@sequoia-pgp.org>2019-12-04 13:21:47 +0100
commit43f4017c820c9b67c9e08f860182ab5c7126fc68 (patch)
tree0f6fc3ad9fceca65988212fea94f816928d8c74f /ipc
parent98253e6dbeffdff0e74ed4258fbc7a3fe38232a0 (diff)
openpgp: Refine CertBuilder::add_encryption_subkey.
Diffstat (limited to 'ipc')
-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 ce494e60..c284117f 100644
--- a/ipc/tests/gpg-agent.rs
+++ b/ipc/tests/gpg-agent.rs
@@ -198,7 +198,7 @@ fn decrypt() {
let (cert, _) = CertBuilder::new()
.set_cipher_suite(*cs)
.add_userid("someone@example.org")
- .add_encryption_subkey()
+ .add_transport_encryption_subkey()
.generate().unwrap();
let mut buf = Vec::new();