Diffusion GnuPG d9ea47f70284

agent: Fix regression with --newsymkey in loopback mode.

Authored by werner on Jul 13 2020, 2:30 PM.

Description

agent: Fix regression with --newsymkey in loopback mode.

* agent/command.c (cmd_get_passphrase): Never repeat in loopback mode;
same as with !OPT_NEWSYMKEY.

In loopback mode there shall not be any repeat because the caller is
expected to do any confirmation before passing a new passphrase to
gpg.

as unfortunately released with 2.2.21.