1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-01 03:22:48 -05:00

Make the Pageant core serialise GUI requests.

This commit is contained in:
Simon Tatham
2020-02-08 18:08:20 +00:00
parent 55005a08ea
commit ff1a297f77
2 changed files with 18 additions and 5 deletions

View File

@ -61,11 +61,7 @@ static bool uxpgnt_ask_passphrase(
if (!upc->debug_prompt_possible)
return false;
/*
* FIXME; we ought to check upc->dlgid here, and if it's already
* not NULL, queue this request up behind the previous one rather
* than trying to confusingly run both at oncec.
*/
assert(!upc->dlgid); /* Pageant core should be serialising requests */
fprintf(upc->logfp, "pageant passphrase request: %s\n", msg);
upc->debug_prompt_active = true;