diff options
author | Wiktor Kwapisiewicz <wiktor@metacode.biz> | 2020-09-17 10:19:55 +0200 |
---|---|---|
committer | Wiktor Kwapisiewicz <wiktor@metacode.biz> | 2020-09-22 09:32:09 +0200 |
commit | 499372f18785a884dc819c03fa5d24ecd229211f (patch) | |
tree | 33b4ac0d0d196244bbc8a681029a8da9358f1ed8 /openpgp-ffi/examples | |
parent | 6c12cbcf9d1396ec8028ea3f17430e3d20c3c89f (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.c | 3 |
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)); |