aboutsummaryrefslogtreecommitdiffstats
path: root/get_key.c
blob: 208f4d586115914ced5aed09c8c4084e3449377f (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_get_key(gpgme_ctx_t ctx, const char *fpr, gpgme_key_t *r_key, int secret)
{
	gpgme_error_t ret = gpgme_get_key(ctx, fpr, r_key, secret);
	if (ret)
		liberror_gpgme_set_error("gpgme_get_key", ret);
	return ret;
}