$ git clone http://tcclient.ion.nu/tc_client.git
commit b051708c40b298096d7b7784ab2d820d1539c231
Author: Alicia <...>
Date:   Wed Jan 18 21:31:23 2017 +0100

    Don't bother trying to verify certificates on windows (lacking a ca bundle)

diff --git a/ChangeLog b/ChangeLog
index 1225fa8..38031b7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@ Improved RTMP compatibility by responding to RTMP ping requests and always start
 Added some basic support for kageshi (using the -s/--site option)
 Small bugfix regarding outgoing streams.
 Cleaned up no-longer-needed headers in client.c
+Don't bother trying to verify certificates on windows (lacking a ca bundle)
 0.41.1:
 Use tinychat.com instead of apl.tinychat.com (works around SSL/TLS issues on windows)
 0.41:
diff --git a/client.c b/client.c
index eabc11f..7b1da57 100644
--- a/client.c
+++ b/client.c
@@ -1,6 +1,6 @@
 /*
     tc_client, a simple non-flash client for tinychat(.com)
-    Copyright (C) 2014-2016  alicia@ion.nu
+    Copyright (C) 2014-2017  alicia@ion.nu
     Copyright (C) 2014-2015  Jade Lea
     Copyright (C) 2015  Pamela Hiatt
 
@@ -79,6 +79,9 @@ char* http_get(const char* url, const char* post)
   curl_easy_setopt(curl, CURLOPT_COOKIEFILE, cookiefile);
   curl_easy_setopt(curl, CURLOPT_COOKIEJAR, cookiefile);
   curl_easy_setopt(curl, CURLOPT_USERAGENT, "Mozilla Firefox");
+  #ifdef __CYGWIN__ // The windows builds lack a ca bundle, so just don't verify certificates
+  curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);
+  #endif
   if(post){curl_easy_setopt(curl, CURLOPT_POSTFIELDS, post);}
   char err[CURL_ERROR_SIZE];
   curl_easy_setopt(curl, CURLOPT_ERRORBUFFER, err);