diff --git a/libchelper.c b/libchelper.c index 5981db0..b81793c 100644 --- a/libchelper.c +++ b/libchelper.c @@ -1,5 +1,6 @@ #include #include +#include // This function is defined but not implemented by newlib int ftime(struct timeb *tp) { @@ -15,4 +16,11 @@ int ftime(struct timeb *tp) { tp->dstflag = 0; return 0; -} \ No newline at end of file +} + +// This function is required for libcurl to link but never +// called using by any of the APIs we use +unsigned alarm(unsigned seconds) { + abort(); + return 0; +} diff --git a/libgamestream/http.c b/libgamestream/http.c index 179dbc5..d734766 100644 --- a/libgamestream/http.c +++ b/libgamestream/http.c @@ -82,6 +82,7 @@ int http_request(char* url, PHTTP_DATA data) { curl_easy_setopt(curl, CURLOPT_FORBID_REUSE, 1L); curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, 3L); curl_easy_setopt(curl, CURLOPT_NOSIGNAL, 1L); + curl_easy_setopt(curl, CURLOPT_SSL_ENABLE_ALPN, 0L); curl_easy_setopt(curl, CURLOPT_WRITEDATA, data); curl_easy_setopt(curl, CURLOPT_URL, url); diff --git a/ports/lib/pnacl/Release/libcrypto.a b/ports/lib/pnacl/Release/libcrypto.a index d018e0a..b7a7676 100644 Binary files a/ports/lib/pnacl/Release/libcrypto.a and b/ports/lib/pnacl/Release/libcrypto.a differ diff --git a/ports/lib/pnacl/Release/libcurl.a b/ports/lib/pnacl/Release/libcurl.a index 5ebd5f5..5bdbfcf 100644 Binary files a/ports/lib/pnacl/Release/libcurl.a and b/ports/lib/pnacl/Release/libcurl.a differ diff --git a/ports/lib/pnacl/Release/libssl.a b/ports/lib/pnacl/Release/libssl.a index 2d7ddf0..bdb0203 100644 Binary files a/ports/lib/pnacl/Release/libssl.a and b/ports/lib/pnacl/Release/libssl.a differ diff --git a/ports/lib/pnacl/Release/libz.a b/ports/lib/pnacl/Release/libz.a index 9514ab6..ac12366 100644 Binary files a/ports/lib/pnacl/Release/libz.a and b/ports/lib/pnacl/Release/libz.a differ