diff options
Diffstat (limited to 'agent/genkey.c')
-rw-r--r-- | agent/genkey.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/genkey.c b/agent/genkey.c index d7b6007bf..ecf676eff 100644 --- a/agent/genkey.c +++ b/agent/genkey.c @@ -382,7 +382,7 @@ agent_ask_new_passphrase (ctrl_t ctrl, const char *prompt, } /* Unless the passphrase is empty or the pinentry told us that it already did the repetition check, ask to confirm it. */ - if (pi->pin && *pi->pin && !pi->repeat_okay) + if (*pi->pin && !pi->repeat_okay) { err = agent_askpin (ctrl, text2, NULL, NULL, pi2); if (err == -1) |