]> asedeno.scripts.mit.edu Git - PuTTY.git/commit - Recipe
Move half of Pageant out into a cross-platform source file.
authorSimon Tatham <anakin@pobox.com>
Tue, 5 May 2015 19:16:19 +0000 (20:16 +0100)
committerSimon Tatham <anakin@pobox.com>
Tue, 5 May 2015 19:16:19 +0000 (20:16 +0100)
commit5ba2d611f9346701b7b5b983b605cb7641fb19d7
treed43ad23180ad534342633d99ea1238ec65f852a3
parenta53e4e2cb6aa5b953fa0cdbef3b1702d0925f195
Move half of Pageant out into a cross-platform source file.

I'm aiming for windows/winpgnt.c to only contain the parts of Windows
Pageant that are actually to do with handling the Windows API, and for
all the actual agent logic to be cross-platform.

This commit is a start: I've moved every function and internal
variable that was easy to move. But it doesn't get all the way there -
there's still a lot of logic in add_keyfile() and get_keylist*() that
would be good to move out to cross-platform code, but it's harder
because that code is currently quite intertwined with details of
Windows OS interfacing such as printing message boxes and passphrase
prompts and calling back out to agent_query if the Pageant doing that
job isn't the primary one.
Recipe
pageant.c [new file with mode: 0644]
pageant.h [new file with mode: 0644]
windows/winpgnt.c