summaryrefslogtreecommitdiffstats
path: root/openpgp-ffi/examples
diff options
context:
space:
mode:
authorWiktor Kwapisiewicz <wiktor@metacode.biz>2020-09-17 10:19:55 +0200
committerWiktor Kwapisiewicz <wiktor@metacode.biz>2020-09-22 09:32:09 +0200
commit499372f18785a884dc819c03fa5d24ecd229211f (patch)
tree33b4ac0d0d196244bbc8a681029a8da9358f1ed8 /openpgp-ffi/examples
parent6c12cbcf9d1396ec8028ea3f17430e3d20c3c89f (diff)
openpgp: Hide stream::Encryptor::aead_algo from public API.
- Mark `aead_algo` as available only during tests, - Remove support for AEAD from `sop`, - Mark `aead` parameter in FFI as unused, - openpgp-ffi: Drop `aead_algo` argument from `pgp_encryptor_new`, - Fixes #550.
Diffstat (limited to 'openpgp-ffi/examples')
-rw-r--r--openpgp-ffi/examples/encrypt-for.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/openpgp-ffi/examples/encrypt-for.c b/openpgp-ffi/examples/encrypt-for.c
index 27a7a585..c7f2841f 100644
--- a/openpgp-ffi/examples/encrypt-for.c
+++ b/openpgp-ffi/examples/encrypt-for.c
@@ -57,8 +57,7 @@ main (int argc, char **argv)
writer,
NULL, 0, /* no passwords */
recipients, recipients_len,
- 9 /* AES256 */,
- 0 /* No AEAD */);
+ 9 /* AES256 */);
if (writer == NULL)
error (1, 0, "pgp_encryptor_new: %s", pgp_error_to_string (err));