Commit Graph

81 Commits

Author SHA1 Message Date
Steven Fackler ee5ad0b257 Update to 1.1.0c for tests 2016-11-11 08:17:05 +00:00
Steven Fackler 374144807f Bump minimum version
rustc-serialize dropped 1.9 support
2016-11-09 20:50:09 +00:00
Steven Fackler 872fcfc3d5 Always build updated OpenSSL
Trusty's default OpenSSL seems to have a bug with DTLS if read_ahead
isn't enabled, even though that's not supposed to do anything for DTLS
(!?!).
2016-10-15 16:51:29 -07:00
Alex Crichton 43c951f743 Add support for OpenSSL 1.1.0
This commit is relatively major refactoring of the `openssl-sys` crate as well
as the `openssl` crate itself. The end goal here was to support OpenSSL 1.1.0,
and lots of other various tweaks happened along the way. The major new features
are:

* OpenSSL 1.1.0 is supported
* OpenSSL 0.9.8 is no longer supported (aka all OSX users by default)
* All FFI bindings are verified with the `ctest` crate (same way as the `libc`
  crate)
* CI matrixes are vastly expanded to include 32/64 of all platforms, more
  OpenSSL version coverage, as well as ARM coverage on Linux
* The `c_helpers` module is completely removed along with the `gcc` dependency.
* The `openssl-sys` build script was completely rewritten
  * Now uses `OPENSSL_DIR` to find the installation, not include/lib env vars.
  * Better error messages for mismatched versions.
  * Better error messages for failing to find OpenSSL on a platform (more can be
    done here)
  * Probing of OpenSSL build-time configuration to inform the API of the `*-sys`
    crate.
* Many Cargo features have been removed as they're now enabled by default.

As this is a breaking change to both the `openssl` and `openssl-sys` crates this
will necessitate a major version bump of both. There's still a few more API
questions remaining but let's hash that out on a PR!

Closes #452
2016-10-12 22:49:55 -07:00
Steven Fackler 6f40b65d2c Build against 1.9 2016-07-31 15:55:32 -07:00
Steven Fackler 0fe3b85476 Test on 1.8 2016-06-26 11:53:24 -04:00
Steven Fackler e9e9e13da6 Downgrade bitflags on travis to build on 1.7 2016-05-08 20:34:00 -07:00
Steven Fackler bc6ee4d7fb Cut out tests against beta
The build matrix is way too big and this isn't super useful
2016-04-29 21:43:23 -07:00
Matt Brubeck ee12087743 Upgrade to work with bitflags 0.5 and 0.6 2016-04-29 13:19:39 -07:00
Steven Fackler e077ed0b4d Disable cross compilation for now 2015-12-17 21:13:44 -08:00
Steven Fackler 531d516e51 Install an ARM cross compilation toolchain 2015-12-16 23:15:42 -08:00
Steven Fackler 2531ac9a45 Test overhaul + add an arm cross compile build
The ARM build doesn't do anything yet
2015-12-16 22:52:30 -08:00
Tomoki Aonuma b6647cc610 Put pbkdf2_hmac_{256,512}() behind feature gate
PKCS5_PBKDF2_HMAC is not available with openssl-0.9.8 on os x
2015-12-10 23:00:49 +09:00
Steven Fackler b8dc70728f Set path for travis test 2015-11-16 20:16:01 -08:00
Steven Fackler 124a0858e8 Test all features 2015-11-16 20:16:01 -08:00
Steven Fackler fae44250f6 Fix feature gated sslv3 2015-11-16 20:16:01 -08:00
Steven Fackler b62ae0761f Fix syntax 2015-11-09 00:17:17 -08:00
Steven Fackler d3dbdc158e Stop adding strace 2015-11-09 00:12:49 -08:00
Steven Fackler 3fc223f17c Fix path for travis buidl 2015-11-09 00:09:58 -08:00
Steven Fackler 7cd551ad7b fuuu 2015-11-09 00:01:45 -08:00
Steven Fackler c5d188efee Install strace 2015-11-08 23:52:41 -08:00
Steven Fackler 5eb32e0351 RUn tests through strace 2015-11-08 23:46:20 -08:00
Steven Fackler 5f5805dd90 Moar debuggign 2015-11-08 23:39:26 -08:00
Steven Fackler 444e081941 Test with one thread to debug timeouts 2015-11-08 23:25:57 -08:00
Steven Fackler 776852ff2b Travis without sudo 2015-11-08 23:16:42 -08:00
Alex Crichton a91b6bf3bd Enable testing on Windows via AppVeyor
This abolishes the test.sh script which spawns a bunch of `openssl` instances to
instead run/manage the binary in-process (providing more isolation to boot). The
tests have been updated accordingly and the `connected_socket` dependency was
also dropped in favor of `net2` as it the former doesn't work on Windows.
2015-09-22 17:37:21 -07:00
Steven Fackler d193198ae9 Add new feature to travis tests 2015-08-02 22:25:33 -04:00
Steven Fackler 26bc75cdef More syntax fixes 2015-06-30 23:03:01 -07:00
Steven Fackler c640fa8e71 Fix travis file syntax 2015-06-30 22:55:17 -07:00
Steven Fackler d886fee56b Fix travis? 2015-06-30 09:22:11 -07:00
Steven Fackler d926d0c6e5 Manually set lib and include dirs on linux builds 2015-06-30 09:13:51 -07:00
Steven Fackler a6ff56209d Revert "Don't build a custom openssl on OSX"
This reverts commit 645430602d.

We actually need 1.0.2 for DTLSv1.2 and ALPN
2015-06-30 00:07:38 -07:00
Steven Fackler 8f408dae65 Initialize FEATURES again in travis config 2015-06-29 21:55:55 -07:00
Steven Fackler cb89b23a15 Strip other LD_LIBRARY_PATH reference 2015-06-27 15:53:40 -07:00
Steven Fackler 645430602d Don't build a custom openssl on OSX
I don't believe the bugfix the required this is needed anymore
2015-06-27 15:45:48 -07:00
Steven Fackler 886f1d5913 Disable master doc uploads 2015-05-31 23:11:25 -07:00
Steven Fackler 95056ab676 Test on both nightly and beta 2015-04-27 23:07:57 -07:00
Steven Fackler 483e0b1f0a Clean up build infrastructure 2015-04-08 21:52:54 -07:00
Manuel Schölling 637e981e77 Use latest openssl library (v1.0.2) 2015-04-06 14:10:08 +02:00
Manuel Schölling e239cd21e7 Postpone custom openssl build 2015-04-06 12:23:11 +02:00
Manuel Schölling 5788f3bec8 Use latest OpenSSL version in travis tests and more verbose error message in ConnectedSocket 2015-04-06 12:22:51 +02:00
Manuel Schölling 3680763906 Fix OSX related compiler error and correct travis OpenSSL setup 2015-04-06 12:22:51 +02:00
Manuel Schölling 3abce328f1 Fix travis path to test bash script 2015-04-06 12:22:51 +02:00
Manuel Schölling efbd4eee05 Fix portability issue and typo 2015-04-06 12:22:50 +02:00
Manuel Schölling 8a0e9d6cca Fix travis test setup for DTLS 2015-04-06 12:22:50 +02:00
Marko Lalic 8f05e0452a openssl: Add tests for client-side NPN
An additional `openssl` process is spun up before the tests are ran.
This process has NPN enabled with some default protocols.
2015-03-23 08:41:15 +01:00
Marko Lalic 3388a12802 openssl: Add NPN crate feature 2015-03-23 08:14:47 +01:00
Steven Fackler ee66da6060 More test fixes 2015-02-09 21:50:58 -08:00
Steven Fackler ffeeea52b7 Derp 2015-02-09 20:02:14 -08:00
Steven Fackler ba7141b4b5 Don't test with features enabled on OSX 2015-02-09 19:48:29 -08:00