mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* card-util.c, delkey.c, keygen.c, plaintext.c, keyedit.c, passphrase.c,
revoke.c: Collapse the two different "can't do that in batch mode" strings into one.
This commit is contained in:
parent
f5b7a72a48
commit
f15e944b98
8 changed files with 27 additions and 19 deletions
|
@ -1050,7 +1050,7 @@ ask_passphrase (const char *description,
|
|||
}
|
||||
else if (opt.batch)
|
||||
{
|
||||
log_error(_("can't query password in batchmode\n"));
|
||||
log_error(_("can't query password in batch mode\n"));
|
||||
pw = NULL;
|
||||
}
|
||||
else {
|
||||
|
@ -1208,7 +1208,7 @@ passphrase_to_dek( u32 *keyid, int pubkey_algo,
|
|||
strcpy( pw, fd_passwd );
|
||||
}
|
||||
else if( opt.batch ) {
|
||||
log_error(_("can't query password in batchmode\n"));
|
||||
log_error(_("can't query password in batch mode\n"));
|
||||
pw = m_strdup( "" ); /* return an empty passphrase */
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue