agent: Fix --extra-socket on Windows.
authorWerner Koch <wk@gnupg.org>
Thu, 11 Jun 2015 07:43:32 +0000 (09:43 +0200)
committerWerner Koch <wk@gnupg.org>
Thu, 11 Jun 2015 07:43:32 +0000 (09:43 +0200)
commit985918aab025cf0ac9db411b88a47c4b985e5e95
tree4c54a8a7fce194d7323f3ad7cd5f0ffe77333164
parent008435b95cbca19adc217178dc9d793eca584345
agent: Fix --extra-socket on Windows.

* agent/gpg-agent.c (start_connection_thread): Rename to ...
(do_start_connection_thread): this.  Factor nonce checking out to ...
(start_connection_thread_std): this,
(start_connection_thread_extra): this,
(start_connection_thread_browser): and this.
--

Although not tested, the code did not worked on Windows becuase we
were checning the wrong nonce.

Signed-off-by: Werner Koch <wk@gnupg.org>
agent/gpg-agent.c