[git] GnuPG - branch, STABLE-BRANCH-2-2, updated. gnupg-2.2.11-16-gc5aba09
by NIIBE Yutaka
cvs at cvs.gnupg.org
Wed Dec 5 08:56:34 CET 2018
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Guard".
The branch, STABLE-BRANCH-2-2 has been updated
via c5aba093b86e7d69b34ddcf55130f8f21e889b5c (commit)
from 9b538451682c704b4036c0ecdb7e6b0ef8570016 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit c5aba093b86e7d69b34ddcf55130f8f21e889b5c
Author: NIIBE Yutaka <gniibe at fsij.org>
Date: Wed Dec 5 16:44:59 2018 +0900
g10: Fix print_pubkey_info new line output.
* g10/keylist.c (print_pubkey_info): Reverse the condition.
--
This mistakes were introduced when replacing by estream.
It resulted 'gpg --card-status' from a process with no controlling
terminal fails.
Fixes-commit: fb2ba98963beea249474f5d6d7345cf9b4b7f570
Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>
(cherry picked from commit e154fba30ba0d5f29040a33f5c1b5c25b441b69f)
diff --git a/g10/keylist.c b/g10/keylist.c
index 81cab25..66b03bb 100644
--- a/g10/keylist.c
+++ b/g10/keylist.c
@@ -211,7 +211,7 @@ print_pubkey_info (ctrl_t ctrl, estream_t fp, PKT_public_key *pk)
else
p = get_user_id_native (ctrl, keyid);
- if (fp)
+ if (!fp)
tty_printf ("\n");
tty_fprintf (fp, "%s %s/%s %s %s\n",
pk->flags.primary? "pub":"sub",
-----------------------------------------------------------------------
Summary of changes:
g10/keylist.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
The GNU Privacy Guard
http://git.gnupg.org
More information about the Gnupg-commits
mailing list