diff options
Diffstat (limited to '')
-rw-r--r-- | g10/revoke.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/g10/revoke.c b/g10/revoke.c index 5262c17bf..c0a003b6f 100644 --- a/g10/revoke.c +++ b/g10/revoke.c @@ -889,6 +889,16 @@ get_default_uid_revocation_reason(void) return reason; } +struct revocation_reason_info * +get_default_sig_revocation_reason(void) +{ + struct revocation_reason_info *reason; + reason = xmalloc( sizeof *reason ); + reason->code = 0; /* No specific reason given. */ + reason->desc = strdup(""); /* no text */ + return reason; +} + void release_revocation_reason_info( struct revocation_reason_info *reason ) { |