From 1166ccd674f398b02b6ef28f8032f83720235e77 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 18 Apr 2019 14:50:05 +0200 Subject: First commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- op_encrypt_start.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 op_encrypt_start.c (limited to 'op_encrypt_start.c') diff --git a/op_encrypt_start.c b/op_encrypt_start.c new file mode 100644 index 0000000..74e7c1c --- /dev/null +++ b/op_encrypt_start.c @@ -0,0 +1,13 @@ +/* See LICENSE file for copyright and license details. */ +#include "internal.h" + + +gpgme_error_t +liberror_gpgme_op_encrypt_start(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_start(ctx, recp, flags, plain, cipher); + if (ret) + liberror_gpgme_set_error("gpgme_op_encrypt_start", ret); + return ret; +} -- cgit v1.2.3-70-g09d2