[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] Use of 'ssl_st'
From: |
Gisle Vanem |
Subject: |
[Bug-wget] Use of 'ssl_st' |
Date: |
Thu, 05 Feb 2015 16:30:00 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0 SeaMonkey/2.32 |
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
- [Bug-wget] Use of 'ssl_st',
Gisle Vanem <=
- Re: [Bug-wget] Use of 'ssl_st', Tim Ruehsen, 2015/02/05
- Re: [Bug-wget] Use of 'ssl_st', Daniel Kahn Gillmor, 2015/02/05
- Re: [Bug-wget] Use of 'ssl_st', Darshit Shah, 2015/02/05
- Re: [Bug-wget] Use of 'ssl_st', Daniel Kahn Gillmor, 2015/02/05
- Re: [Bug-wget] Use of 'ssl_st', Daniel Stenberg, 2015/02/05
- Re: [Bug-wget] Use of 'ssl_st', Daniel Kahn Gillmor, 2015/02/05
- Re: [Bug-wget] Use of 'ssl_st', Daniel Stenberg, 2015/02/05
Re: [Bug-wget] Use of 'ssl_st', Daniel Kahn Gillmor, 2015/02/05