| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Clean up features | Steven Fackler | 2016-10-13 | 2 | -20/+17 | |
| | | ||||||
| * | Flag off dtls and mask ssl_ops | Steven Fackler | 2016-10-13 | 1 | -13/+3 | |
| | | | | | Also un-feature gate npn as it ships with 1.0.1 | |||||
| * | Ignore a test on OpenSSL 1.1.0 | Alex Crichton | 2016-10-12 | 1 | -0/+3 | |
| | | ||||||
| * | Add remaining SSL_OP constants | Steven Fackler | 2016-10-12 | 1 | -0/+5 | |
| | | ||||||
| * | Add support for OpenSSL 1.1.0 | Alex Crichton | 2016-10-12 | 3 | -262/+388 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | |||||
| * | Fix SslContext::add_extra_chain_cert | Steven Fackler | 2016-08-17 | 2 | -3/+16 | |
| | | | | | | | | | | SSL_CTX_add_extra_chain_cert assumes ownership of the certificate, so the method really needs to take an X509 by value. Work around this by manually cloning the cert. This method has been around for over a year but I'm guessing nobody actually used it since it produces a nice double free into segfault! | |||||
| * | Ignore flickering test on windows | Steven Fackler | 2016-08-16 | 1 | -0/+1 | |
| | | ||||||
| * | PKCS #12 support | Steven Fackler | 2016-08-14 | 1 | -1/+1 | |
| | | ||||||
| * | More test fixes | Steven Fackler | 2016-08-14 | 1 | -1/+1 | |
| | | ||||||
| * | Fix tests | Steven Fackler | 2016-08-14 | 1 | -9/+9 | |
| | | ||||||
| * | Start on PKCS #12 support | Steven Fackler | 2016-08-14 | 1 | -4/+4 | |
| | | ||||||
| * | Mangle c helper functions | Steven Fackler | 2016-08-13 | 1 | -1/+1 | |
| | | | | | | | | We want to make sure that multiple openssl versions can coexist in the same dependency tree. Closes #438 | |||||
| * | Fix tests | Steven Fackler | 2016-08-10 | 1 | -1/+1 | |
| | | ||||||
| * | Little tweaks | Steven Fackler | 2016-08-10 | 1 | -3/+6 | |
| | | ||||||
| * | Method renames | Steven Fackler | 2016-08-10 | 1 | -3/+3 | |
| | | ||||||
| * | More API cleanup | Steven Fackler | 2016-08-10 | 1 | -1/+1 | |
| | | ||||||
| * | Make c_helpers optional | Steven Fackler | 2016-08-09 | 1 | -108/+137 | |
| | | ||||||
| * | Remove rust_SSL_clone | Steven Fackler | 2016-08-09 | 2 | -60/+95 | |
| | | ||||||
| * | Move init to crate root | Steven Fackler | 2016-08-07 | 1 | -7/+2 | |
| | | ||||||
| * | get_error -> error | Steven Fackler | 2016-08-07 | 1 | -2/+2 | |
| | | ||||||
| * | Clean up asn1time | Steven Fackler | 2016-08-06 | 1 | -33/+37 | |
| | | ||||||
| * | Fix pkey method safety | Steven Fackler | 2016-08-05 | 1 | -1/+1 | |
| | | ||||||
| * | Clean up x509 | Steven Fackler | 2016-08-05 | 2 | -9/+9 | |
| | | ||||||
| * | Move SSL_CTX_set_ecdh_auto to -sys | Steven Fackler | 2016-08-04 | 1 | -1/+1 | |
| | | ||||||
| * | Mvoe SSL_CTX_add_extra_chain_cert to -sys | Steven Fackler | 2016-08-04 | 1 | -3/+2 | |
| | | ||||||
| * | Move SSL_CTX_set_tmp_dh to -sys | Steven Fackler | 2016-08-04 | 1 | -1/+1 | |
| | | ||||||
| * | Move SSL_CTX_set_read_ahead to -sys | Steven Fackler | 2016-08-04 | 1 | -1/+1 | |
| | | ||||||
| * | Move SSL_CTX_set_tlsext_servername_callback to -sys | Steven Fackler | 2016-08-04 | 1 | -1/+1 | |
| | | ||||||
| * | Move SSL_set_tlsext_host_name to -sys | Steven Fackler | 2016-08-04 | 1 | -1/+1 | |
| | | ||||||
| * | Move BIO macros into -sys | Steven Fackler | 2016-08-04 | 1 | -2/+2 | |
| | | ||||||
| * | Stop once-ing init wrapper | Steven Fackler | 2016-08-04 | 1 | -3/+2 | |
| | | | | | The underlying function already once-s itself | |||||
| * | Support basic SSL options without C shims | Steven Fackler | 2016-08-04 | 1 | -51/+31 | |
| | | ||||||
| * | Define SSL_CTX_set_mode in openssl-sys | Steven Fackler | 2016-08-02 | 1 | -1/+1 | |
| | | ||||||
| * | Restructure PEM input/output methods | Steven Fackler | 2016-08-02 | 1 | -11/+4 | |
| | | | | | | Dealing with byte buffers directly avoids error handling weirdness and we were loading it all into memory before anyway. | |||||
| * | Merge pull request #432 from alexcrichton/mid-handshake | Steven Fackler | 2016-07-31 | 2 | -19/+136 | |
| |\ | | | | | Add MidHandshakeSslStream | |||||
| | * | Add MidHandshakeSslStream | Alex Crichton | 2016-07-31 | 2 | -19/+136 | |
| | | | | | | | | | | | | | Allows recognizing when a stream is still in handshake mode and can gracefully transition when ready. The blocking usage of the API should still be the same, just helps nonblocking implementations! | |||||
| * | | Fix build with dtls | Steven Fackler | 2016-07-31 | 1 | -2/+2 | |
| |/ | ||||||
| * | Merge remote-tracking branch 'origin/master' into breaks | Steven Fackler | 2016-07-31 | 3 | -43/+64 | |
| |\ | ||||||
| | * | Set SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER flag | Shaun Taheri | 2016-07-24 | 1 | -1/+1 | |
| | | | ||||||
| | * | Set auto retry | Steven Fackler | 2016-07-01 | 1 | -1/+8 | |
| | | | | | | | | | | | | | SSL_read returns a WANT_READ after a renegotiation by default which ends up bubbling up as a weird BUG error. Tell OpenSSL to just do the read again. | |||||
| | * | Rustfmt | Steven Fackler | 2016-05-16 | 3 | -42/+60 | |
| | | | ||||||
| | * | Update cert | Steven Fackler | 2016-05-15 | 1 | -7/+7 | |
| | | | | | | | | | Now with a 10 year expriation | |||||
| * | | Fix a few mutable types for `self` parameters. | Corey Farwell | 2016-06-02 | 2 | -4/+4 | |
| | | | ||||||
| * | | Remove AsRaw{Fd, Socket} impls | Steven Fackler | 2016-05-03 | 1 | -18/+0 | |
| | | | | | | | | | | | An SslStream can't really act as a raw socket since you'd skip the whole TLS layer | |||||
| * | | Remove silly internal error enum | Steven Fackler | 2016-05-03 | 1 | -44/+9 | |
| | | | ||||||
| * | | Drop MaybeSslStream | Steven Fackler | 2016-05-03 | 1 | -61/+0 | |
| | | | | | | | | | It should be inlined into crates that depend on it. | |||||
| * | | Drop is_dtls methods on SslMethod | Steven Fackler | 2016-05-03 | 1 | -26/+6 | |
| | | | ||||||
| * | | Clean up SNI APIs | Steven Fackler | 2016-05-03 | 1 | -73/+30 | |
| | | | ||||||
| * | | Move SslContext::set_verify to a closure based API | Steven Fackler | 2016-05-03 | 2 | -133/+56 | |
| | | | ||||||
| * | | Rename getters in line with conventions | Steven Fackler | 2016-05-03 | 2 | -11/+9 | |
| | | | ||||||