diff options
Diffstat (limited to 'op_encrypt.c')
-rw-r--r-- | op_encrypt.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/op_encrypt.c b/op_encrypt.c new file mode 100644 index 0000000..609b201 --- /dev/null +++ b/op_encrypt.c @@ -0,0 +1,13 @@ +/* See LICENSE file for copyright and license details. */ +#include "internal.h" + + +gpgme_error_t +liberror_gpgme_op_encrypt(gpgme_ctx_t ctx, gpgme_key_t recp[], gpgme_encrypt_flags_t flags, + gpgme_data_t plain, gpgme_data_t cipher) +{ + gpgme_error_t ret = gpgme_op_encrypt(ctx, recp, flags, plain, cipher); + if (ret) + liberror_gpgme_set_error("gpgme_op_encrypt", ret); + return ret; +} |