kopia lustrzana
git://git.gnupg.org/gnupg.git
zsynchronizowano 2025-07-02 22:46:30 +02:00
gpg: New status code NOTATION_FLAGS.
* common/status.h (STATUS_NOTATION_FLAGS: New. * g10/packet.h (struct notation): Add flags.human. (notation_t): New typedef. * g10/build-packet.c (sig_to_notation): Set flags.human. * g10/keylist.c (show_notation): Write STATUS_NOTATION_FLAGS.
Ten commit jest zawarty w:
rodzic
903328a3ef
commit
67a4bc8d53
5 zmienionych plików z 23 dodań i 8 usunięć
|
@ -401,7 +401,7 @@ void
|
|||
show_notation (PKT_signature * sig, int indent, int mode, int which)
|
||||
{
|
||||
estream_t fp = mode ? log_get_stream () : es_stdout;
|
||||
struct notation *nd, *notations;
|
||||
notation_t nd, notations;
|
||||
|
||||
if (which == 0)
|
||||
which = 3;
|
||||
|
@ -448,6 +448,10 @@ show_notation (PKT_signature * sig, int indent, int mode, int which)
|
|||
{
|
||||
write_status_buffer (STATUS_NOTATION_NAME,
|
||||
nd->name, strlen (nd->name), 0);
|
||||
if (nd->flags.critical || nd->flags.human)
|
||||
write_status_text (STATUS_NOTATION_FLAGS,
|
||||
nd->flags.critical && nd->flags.human? "1 1" :
|
||||
nd->flags.critical? "1 0" : "0 1");
|
||||
write_status_buffer (STATUS_NOTATION_DATA,
|
||||
nd->value, strlen (nd->value), 50);
|
||||
}
|
||||
|
|
Ładowanie…
Dodaj tabelę
Add a link
Odniesienie w nowym zgłoszeniu