diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-02-09 16:00:56 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-02-09 16:00:56 +0900 |
commit | cba93c71d2653bae01faf0c092b6b7ea1c2a601f (patch) | |
tree | e038af5f70b9adabd5c3cfe205e456923cd49114 /g10/revoke.c | |
parent | 809c8ad8209b0f5248cfc52eb6e1d437099fb228 (diff) | |
download | gpg2-cba93c71d2653bae01faf0c092b6b7ea1c2a601f.tar.gz gpg2-cba93c71d2653bae01faf0c092b6b7ea1c2a601f.tar.bz2 gpg2-cba93c71d2653bae01faf0c092b6b7ea1c2a601f.zip |
Imported Upstream version 2.2.24upstream/2.2.24
Diffstat (limited to 'g10/revoke.c')
-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 3a08972..035a2e9 100644 --- a/g10/revoke.c +++ b/g10/revoke.c @@ -891,6 +891,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 ) { |