Make ntbtls-cli work for W32.
authorWerner Koch <wk@gnupg.org>
Thu, 23 Feb 2017 07:59:00 +0000 (08:59 +0100)
committerWerner Koch <wk@gnupg.org>
Thu, 23 Feb 2017 07:59:10 +0000 (08:59 +0100)
commit23670ada738071ec464c9a40f6b3528e23998655
treef3c65f380eb9dd80ce21060a6d86efd85c0ba329
parent8d98665dc2a1d7876f9841d4788c4ea4c710270b
Make ntbtls-cli work for W32.

* src/ntbtls-cli.c: Include errno.h.
(w32_cookie_read) [W32]: New.
(w32_write_server) [W32]: New.
(w32_cookie_write) [W32]: New.
(w32_cookie_functions) [W32]: New.
(connect_estreams) [W32]: Use es_fopencookie.
(main) [W32]: Init Winsock.

Signed-off-by: Werner Koch <wk@gnupg.org>
src/ntbtls-cli.c