The recent changes in OpenSSL's API has caused libcurl, Wget
and probably other packages to break. Here is one example:
openssl.c(548) : error C2037: left of 'state' specifies undefined
struct/union 'ssl_st'
This structure is now tucked away in ssl_locl.h.
What can be done about this? There is probably a function/macro
for it now. Here I just did a:
--- a/openssl.c 2015-02-05 15:31:22 +0000
+++ b/openssl.c 2015-02-05 16:22:54 +0000
@@ -545,7 +545,11 @@
DEBUGP (("SSL handshake timed out.\n"));
goto timeout;
}
- if (scwt_ctx.result <= 0 || conn->state != SSL_ST_OK)
+ if (scwt_ctx.result <= 0
+#if (OPENSSL_VERSION_NUMBER < 0x10100000L)
+ || conn->state != SSL_ST_OK
+#endif
+ )
goto error;
ctx = xnew0 (struct openssl_transport_context);
PS. Would it one day be possible to build Wget using BoringSSL?
https://boringssl.googlesource.com/
AFAIK, BoringSSL aims at OpenSSL compatibility, But it's not quite
there yet.
--
--gv