diff options
Diffstat (limited to 'get_key.c')
-rw-r--r-- | get_key.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/get_key.c b/get_key.c new file mode 100644 index 0000000..208f4d5 --- /dev/null +++ b/get_key.c @@ -0,0 +1,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; +} |