aboutsummaryrefslogtreecommitdiffstats
path: root/data_new_from_file.c
blob: 74feeb6bd875f590e973fb9e237bd2783627ef6b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
/* See LICENSE file for copyright and license details. */
#include "internal.h"


gpgme_error_t
liberror_gpgme_data_new_from_file(gpgme_data_t *r_dh, const char *fname, int copy)
{
	gpgme_error_t ret = gpgme_data_new_from_file(r_dh, fname, copy);
	if (ret)
		liberror_gpgme_set_error("gpgme_data_new_from_file", ret);
	return ret;
}