summaryrefslogtreecommitdiffstats
path: root/openpgp-ffi/examples
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp-ffi/examples')
-rw-r--r--openpgp-ffi/examples/encrypt-for.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp-ffi/examples/encrypt-for.c b/openpgp-ffi/examples/encrypt-for.c
index abf9d1a9..8303f8ee 100644
--- a/openpgp-ffi/examples/encrypt-for.c
+++ b/openpgp-ffi/examples/encrypt-for.c
@@ -37,8 +37,8 @@ main (int argc, char **argv)
error (1, 0, "pgp_cert_from_file: %s", pgp_error_to_string (err));
pgp_cert_key_iter_t iter = pgp_cert_key_iter_valid (cert);
- pgp_cert_key_iter_encrypting_capable_at_rest (iter);
- pgp_cert_key_iter_encrypting_capable_for_transport (iter);
+ pgp_cert_key_iter_for_storage_encryption (iter);
+ pgp_cert_key_iter_for_transport_encryption (iter);
size_t recipients_len;
pgp_recipient_t *recipients =
pgp_recipients_from_key_iter (iter, &recipients_len);