aboutsummaryrefslogtreecommitdiffstats
path: root/signers_add.c
diff options
context:
space:
mode:
Diffstat (limited to 'signers_add.c')
-rw-r--r--signers_add.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/signers_add.c b/signers_add.c
new file mode 100644
index 0000000..302acba
--- /dev/null
+++ b/signers_add.c
@@ -0,0 +1,12 @@
+/* See LICENSE file for copyright and license details. */
+#include "internal.h"
+
+
+gpgme_error_t
+liberror_gpgme_signers_add(gpgme_ctx_t ctx, const gpgme_key_t key)
+{
+ gpgme_error_t ret = gpgme_signers_add(ctx, key);
+ if (ret)
+ liberror_gpgme_set_error("gpgme_signers_add", ret);
+ return ret;
+}