FindWin32CACert: return OK even if CA cert isn't found
authorDaniel Stenberg <daniel@haxx.se>
Thu, 17 Nov 2011 17:03:21 +0000 (18:03 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 17 Nov 2011 17:05:27 +0000 (18:05 +0100)
Bug: http://curl.haxx.se/mail/lib-2011-11/0180.html
Reported by: Mark Brand

src/tool_doswin.c

index b23b50a..ef3899e 100644 (file)
@@ -285,8 +285,6 @@ CURLcode FindWin32CACert(struct Configurable *config, const char *bundle_file)
       if(!config->cacert)
         result = CURLE_OUT_OF_MEMORY;
     }
-    else
-      result = CURLE_SSL_CACERT;
 
     Curl_safefree(buf);
   }