diff options
author | Mattias Andrée <maandree@kth.se> | 2019-04-18 14:50:05 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2019-04-18 14:50:05 +0200 |
commit | 1166ccd674f398b02b6ef28f8032f83720235e77 (patch) | |
tree | 72a87c1ee7185cc66bc748a30e3c3af8a4eda015 /op_decrypt.c | |
download | liberror-gpgme-1166ccd674f398b02b6ef28f8032f83720235e77.tar.gz liberror-gpgme-1166ccd674f398b02b6ef28f8032f83720235e77.tar.bz2 liberror-gpgme-1166ccd674f398b02b6ef28f8032f83720235e77.tar.xz |
First commit
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'op_decrypt.c')
-rw-r--r-- | op_decrypt.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/op_decrypt.c b/op_decrypt.c new file mode 100644 index 0000000..dd01a83 --- /dev/null +++ b/op_decrypt.c @@ -0,0 +1,12 @@ +/* See LICENSE file for copyright and license details. */ +#include "internal.h" + + +gpgme_error_t +liberror_gpgme_op_decrypt(gpgme_ctx_t ctx, gpgme_data_t cipher, gpgme_data_t plain) +{ + gpgme_error_t ret = gpgme_op_decrypt(ctx, cipher, plain); + if (ret) + liberror_gpgme_set_error("gpgme_op_decrypt", ret); + return ret; +} |