mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
* passphrase .c (agent_get_passphrase): New arg CANCELED.
(passphrase_to_dek): Ditto. Passed to above. Changed all callers to pass NULL. * seckey-cert.c (do_check): New arg CANCELED. (check_secret_key): Terminate loop when canceled. * keyedit.c (change_passphrase): Pass ERRTEXT untranslated to passphrase_to_dek and translate where appropriate. * seckey-cert.c (check_secret_key): Ditto. * keygen.c (ask_passphrase): Ditto. * passphrase.c (agent_get_passphrase): Translate the TRYAGAIN_TEXT. Switch the codeset to utf-8.
This commit is contained in:
parent
5a9e7663c1
commit
3ff3ac5ba4
11 changed files with 126 additions and 38 deletions
|
@ -1035,7 +1035,7 @@ sign_symencrypt_file (const char *fname, STRLIST locusr)
|
|||
if (!opt.quiet || !opt.batch)
|
||||
log_info (_("%s encryption will be used\n"),
|
||||
cipher_algo_to_string(algo) );
|
||||
cfx.dek = passphrase_to_dek( NULL, 0, algo, s2k, 2, NULL );
|
||||
cfx.dek = passphrase_to_dek( NULL, 0, algo, s2k, 2, NULL, NULL );
|
||||
|
||||
if (!cfx.dek || !cfx.dek->keylen) {
|
||||
rc = G10ERR_PASSPHRASE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue