mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-23 10:29:58 +01:00
gpg: Make --list-packets work w/o --no-armor for plain OCB packets.
* g10/armor.c (is_armored): Add PKT_ENCRYPTED_AEAD. -- With this fix it is now possible to feed a vanilla packet of type 20 without first forcing gpg to assume binary mode.
This commit is contained in:
parent
0a355b2fe7
commit
a69149b1ae
@ -233,6 +233,7 @@ is_armored (const byte *buf)
|
|||||||
case PKT_COMPRESSED:
|
case PKT_COMPRESSED:
|
||||||
case PKT_ENCRYPTED:
|
case PKT_ENCRYPTED:
|
||||||
case PKT_ENCRYPTED_MDC:
|
case PKT_ENCRYPTED_MDC:
|
||||||
|
case PKT_ENCRYPTED_AEAD:
|
||||||
case PKT_PLAINTEXT:
|
case PKT_PLAINTEXT:
|
||||||
case PKT_OLD_COMMENT:
|
case PKT_OLD_COMMENT:
|
||||||
case PKT_COMMENT:
|
case PKT_COMMENT:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user