]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Put proper logging into Pageant.
authorSimon Tatham <anakin@pobox.com>
Wed, 6 May 2015 18:32:26 +0000 (19:32 +0100)
committerSimon Tatham <anakin@pobox.com>
Wed, 6 May 2015 18:45:04 +0000 (19:45 +0100)
commitbc4066e454f38358f17860e3d4244f63b930f994
tree774c325c23f2e094e458767047850e20695264a5
parent340143cea7d65d6a340e40126e17518154bbbe78
Put proper logging into Pageant.

Now it actually logs all its requests and responses, the fingerprints
of keys mentioned in all messages, and so on.

I've also added the -v option, which causes Pageant in any mode to
direct that logging information to standard error. In --debug mode,
however, the logging output goes to standard output instead (because
when debugging, that information changes from a side effect to the
thing you actually wanted in the first place :-).

An internal tweak: the logging functions now take a va_list rather
than an actual variadic argument list, so that I can pass it through
several functions.
pageant.c
pageant.h
unix/uxpgnt.c
windows/winpgnt.c