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