summaryrefslogtreecommitdiffstats
path: root/keyserver/curl-shim.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2008-04-21 21:13:36 +0200
committerWerner Koch <wk@gnupg.org>2008-04-21 21:13:36 +0200
commit08a612f26e7657daf7adb39cc62b91ab76e488fb (patch)
treec2f33a0073571cd5d47dc42a777f855cc75384a1 /keyserver/curl-shim.c
parentUse default PIN flag (diff)
downloadgnupg2-08a612f26e7657daf7adb39cc62b91ab76e488fb.tar.xz
gnupg2-08a612f26e7657daf7adb39cc62b91ab76e488fb.zip
W32 related keyserver fixes.
Diffstat (limited to 'keyserver/curl-shim.c')
-rw-r--r--keyserver/curl-shim.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/keyserver/curl-shim.c b/keyserver/curl-shim.c
index 74b3f17e0..dfa3d1e3c 100644
--- a/keyserver/curl-shim.c
+++ b/keyserver/curl-shim.c
@@ -89,6 +89,10 @@ curl_easy_init(void)
{
CURL *handle;
+#ifdef HAVE_W32_SYSTEM
+ w32_init_sockets ();
+#endif
+
handle=calloc(1,sizeof(CURL));
if(handle)
handle->errors=stderr;