aboutsummaryrefslogtreecommitdiffstats
path: root/g10/test-stubs.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/test-stubs.c')
-rw-r--r--g10/test-stubs.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/g10/test-stubs.c b/g10/test-stubs.c
index e5fd3ae9a..1e1363266 100644
--- a/g10/test-stubs.c
+++ b/g10/test-stubs.c
@@ -535,3 +535,17 @@ tofu_notice_key_changed (ctrl_t ctrl, kbnode_t kb)
return 0;
}
+
+int
+get_revocation_reason (PKT_signature *sig, char **r_reason,
+ char **r_comment, size_t *r_commentlen)
+{
+ (void)sig;
+ (void)r_commentlen;
+
+ if (r_reason)
+ *r_reason = NULL;
+ if (r_comment)
+ *r_comment = NULL;
+ return 0;
+}