mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Fix a regression from 2010-06-09.
This commit is contained in:
parent
1e7b03ef25
commit
c8bafe218c
8 changed files with 29 additions and 12 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-06-24 Werner Koch <wk@g10code.com>
|
||||
|
||||
* genkey.c (check_passphrase_pattern): Use HANG option for
|
||||
gnupg_wait_progress. Fixes regression from 2010-06-09.
|
||||
|
||||
2010-06-21 Werner Koch <wk@g10code.com>
|
||||
|
||||
* protect-tool.c (export_p12_file, import_p12_cert_cb)
|
||||
|
|
|
@ -129,7 +129,7 @@ check_passphrase_pattern (ctrl_t ctrl, const char *pw)
|
|||
|
||||
if (gnupg_spawn_process_fd (pgmname, argv, fileno (infp), -1, -1, &pid))
|
||||
result = 1; /* Execute error - assume password should no be used. */
|
||||
else if (gnupg_wait_process (pgmname, pid, 0, NULL))
|
||||
else if (gnupg_wait_process (pgmname, pid, 1, NULL))
|
||||
result = 1; /* Helper returned an error - probably a match. */
|
||||
else
|
||||
result = 0; /* Success; i.e. no match. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue