mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Do not translate messages printed with log_debug.
* common/asshelp.c (start_new_gpg_agent): Do not i18n string. (start_new_dirmngr): Ditto. * g10/mainproc.c (proc_encrypted): Ditto. Print only if debug is enabled. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
f03976f110
commit
218a52787a
2 changed files with 5 additions and 4 deletions
|
@ -646,8 +646,9 @@ proc_encrypted (CTX c, PACKET *pkt)
|
|||
if (gpg_err_code (result) == GPG_ERR_BAD_KEY
|
||||
&& *c->dek->s2k_cacheid != '\0')
|
||||
{
|
||||
log_debug (_("cleared passphrase cached with ID: %s\n"),
|
||||
c->dek->s2k_cacheid);
|
||||
if (opt.debug)
|
||||
log_debug ("cleared passphrase cached with ID: %s\n",
|
||||
c->dek->s2k_cacheid);
|
||||
passphrase_clear_cache (NULL, c->dek->s2k_cacheid, 0);
|
||||
}
|
||||
glo_ctrl.lasterr = result;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue