dirmngr,w32: Make https with ntbtls work.
authorWerner Koch <wk@gnupg.org>
Thu, 23 Feb 2017 09:30:58 +0000 (10:30 +0100)
committerWerner Koch <wk@gnupg.org>
Thu, 23 Feb 2017 09:30:58 +0000 (10:30 +0100)
commita42bf00b4edce789999aa3bdfce235cf726463ae
treee2cb99b8ab26c5d615e08960116941d84dafb88e
parentfd9cb9f8152158b81c2aaef6e9c65cfdd763a0d1
dirmngr,w32: Make https with ntbtls work.

* dirmngr/http.c (simple_cookie_functions): New.
(send_request) [HTTP_USE_NTBTLS, W32]: Use es_fopencookie.
(cookie_read): Factor some code out to ...
(read_server): new.
(simple_cookie_read, simple_cookie_write) [W32]: New.

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