Closed
Description
Greetings,
Building curl against the latest OpenSSL master branch fails due to recent change to make x509 an opaque structure.
- Cross compiling curl for iOS (iPhone arm7 and other archs)
- curl - master branch @3ad83bc3a623758a53496dbb88be48fd5e190aca
- openssl - master branch @6f73d28c20459034bfd4090494be9fb1a479c8af
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
mv -f vtls/.deps/libcurl_la-nss.Tpo vtls/.deps/libcurl_la-nss.Plo
mv -f vtls/.deps/libcurlu_la-vtls.Tpo vtls/.deps/libcurlu_la-vtls.Plo
mv -f vtls/.deps/libcurl_la-polarssl.Tpo vtls/.deps/libcurl_la-polarssl.Plo
mv -f vtls/.deps/libcurl_la-polarssl_threadlock.Tpo vtls/.deps/libcurl_la-polarssl_threadlock.Plo
vtls/openssl.c:2350:13: error: incomplete definition of type 'struct x509_st'
cinf = x->cert_info;
~~
Appears to be a side-effect of this commit in OpenSSL master codeline
Commit: 2c81e476fab0e3e0b6140652b4577bf6f3b827be [2c81e47]
Parents: 7e4188326b
Author: Dr. Stephen Henson <steve@openssl.org>
Date: September 22, 2015 at 6:00:13 AM PDT
Commit Date: September 22, 2015 at 1:15:55 PM PDT
Make X509 opaque
Reviewed-by: Rich Salz <rsalz@openssl.org>