Home GnuPG
Diffusion GnuPG 0a6af6dc1299

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

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.