mirror of
git://git.gnupg.org/gnupg.git
synced 2024-06-17 00:39:50 +02:00
gpg: Handle critical marked 'Reason for Revocation'.
* g10/parse-packet.c (can_handle_critical): Add SIGSUBPKT_REVOC_REASON. -- Some software seems to mark that subpacket as criticial. Although gpg has no special treatment for a revocation reasons (except for --list-packets) we can accept a criticial marked anyway. There are no mandatary rules specified on how to handle a revocation reason. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
d24375271b
commit
3f6d949011
|
@ -1643,6 +1643,7 @@ can_handle_critical (const byte * buffer, size_t n, int type)
|
||||||
/* Is it enough to show the policy or keyserver? */
|
/* Is it enough to show the policy or keyserver? */
|
||||||
case SIGSUBPKT_POLICY:
|
case SIGSUBPKT_POLICY:
|
||||||
case SIGSUBPKT_PREF_KS:
|
case SIGSUBPKT_PREF_KS:
|
||||||
|
case SIGSUBPKT_REVOC_REASON: /* At least we know about it. */
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user