-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
curl build fails with OpenSSL (master) using opaque X509 struct #491
Comments
We test and aim to work with all released versions of OpenSSL. While I think it is useful to also work with OpenSSL's development branch it is a high maintenance burden to keep that polished. We'll appreciate patches that fix this, and I occasionally go through and fix this myself but I cannot consider it to be a high prioritized activity. |
I just looked and its not clear to me which alternative API they suggest we use to get the same information. I will consider this an OpenSSL bug for now. |
On Oct 17, 2015 14:23, "Daniel Stenberg" notifications@github.com wrote:
Agreed. Fwiw : I added an SSL context callback (and some naughty header copy/paste |
I can verify this on MSVC/Windows too:
And these:
@bagder I will consider this an OpenSSL bug for now. Probably. I'll stick to SChannel anyway. |
This also fails the same way with "version 1.1.0 pre release 1 (alpha)" that was released today. |
(in addition to several other warnings/errors) |
If you consider it an OpenSSL bug, please mail details to rt at openssl.org |
Thanks, filed here: https://rt.openssl.org/Ticket/Display.html?id=4177 (some other minor tweaks were just pushed) |
With the use of some fun #ifdef trickery I solved it and OpenSSL >= 1.1.0 now works and builds fine. |
Great. Is there an easy way to see what you did? Maybe others would benefit and we could post it on the wiki. |
Thanks, I'll copy these links into our wiki! |
Greetings,
Building curl against the latest OpenSSL master branch fails due to recent change to make x509 an opaque structure.
I realize I'm using the "bleeding edge" codelines. Perhaps consider this more of a heads up of openssl changes affecting curl (likely BoringSSL too).
The 'internals' lists 'OpenSSL 0.9.7' as a dependency (http://curl.haxx.se/dev/internals.html). However, I'm not sure where it might be mentioned the "most recently tested compatible' versions of underlying libraries such as OpenSSL.
[Edit: I have reverted to an earlier OpenSSL commit for the time being.]
~~
Compile error in vtls
~~
Appears to be a side-effect of this commit in OpenSSL master codeline
The text was updated successfully, but these errors were encountered: