mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-23 10:29:58 +01:00
gpg: Fix printing of binary notations.
* g10/keylist.c (show_notation): Print binary notation from BDAT. -- GnuPG-bug-id: 5667
This commit is contained in:
parent
5e3eea4b73
commit
918e921800
@ -452,6 +452,10 @@ show_notation (PKT_signature * sig, int indent, int mode, int which)
|
|||||||
write_status_text (STATUS_NOTATION_FLAGS,
|
write_status_text (STATUS_NOTATION_FLAGS,
|
||||||
nd->flags.critical && nd->flags.human? "1 1" :
|
nd->flags.critical && nd->flags.human? "1 1" :
|
||||||
nd->flags.critical? "1 0" : "0 1");
|
nd->flags.critical? "1 0" : "0 1");
|
||||||
|
if (!nd->flags.human && nd->bdat && nd->blen)
|
||||||
|
write_status_buffer (STATUS_NOTATION_DATA,
|
||||||
|
nd->bdat, nd->blen, 250);
|
||||||
|
else
|
||||||
write_status_buffer (STATUS_NOTATION_DATA,
|
write_status_buffer (STATUS_NOTATION_DATA,
|
||||||
nd->value, strlen (nd->value), 50);
|
nd->value, strlen (nd->value), 50);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user