aboutsummaryrefslogblamecommitdiffstats
path: root/op_encrypt.c
blob: 609b201622b2acdda0600e9e80f4ee1d6a512d31 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
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;
}