diff options
| author | Werner Koch <[email protected]> | 2018-01-10 16:33:50 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2018-01-10 16:33:50 +0000 |
| commit | 81d71818d054a5faa9153fd52a4b79bbbb71e9d5 (patch) | |
| tree | cd62338a213ae45861d4db23be7bee638aed85ed /g10/gpgcompose.c | |
| parent | gpg: New option --force-aead (diff) | |
| download | gnupg-81d71818d054a5faa9153fd52a4b79bbbb71e9d5.tar.gz gnupg-81d71818d054a5faa9153fd52a4b79bbbb71e9d5.zip | |
gpg: Add stub function for encrypting AEAD.
* g10/cipher.c (cipher_filter): Rename to cipher_filter_cfb.
* g10/cipher-aead.c: New. Right now only with a stub function.
* g10/Makefile.am (gpg_sources): Add file.
* g10/encrypt.c (encrypt_simple): Push either cipher_filter_cfb or
cipher_filter_aead.
(encrypt_crypt): Ditto.
(encrypt_filter): Ditto.
* g10/sign.c (sign_symencrypt_file): Ditto.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/gpgcompose.c')
| -rw-r--r-- | g10/gpgcompose.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/gpgcompose.c b/g10/gpgcompose.c index 8c156d279..f87983802 100644 --- a/g10/gpgcompose.c +++ b/g10/gpgcompose.c @@ -2573,7 +2573,7 @@ encrypted (const char *option, int argc, char *argv[], void *cookie) cfx->datalen = 0; - filter_push (out, cipher_filter, cfx, PKT_ENCRYPTED, cfx->datalen == 0); + filter_push (out, cipher_filter_cfb, cfx, PKT_ENCRYPTED, cfx->datalen == 0); debug ("Wrote encrypted packet:\n"); |
