diff options
Diffstat (limited to '')
-rw-r--r-- | set_pinentry_mode.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/set_pinentry_mode.c b/set_pinentry_mode.c new file mode 100644 index 0000000..327d15d --- /dev/null +++ b/set_pinentry_mode.c @@ -0,0 +1,12 @@ +/* See LICENSE file for copyright and license details. */ +#include "internal.h" + + +gpgme_error_t +liberror_gpgme_set_pinentry_mode(gpgme_ctx_t ctx, gpgme_pinentry_mode_t mode) +{ + gpgme_error_t ret = gpgme_set_pinentry_mode(ctx, mode); + if (ret) + liberror_gpgme_set_error("gpgme_set_pinentry_mode", ret); + return ret; +} |