| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 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 |
| | | |||||
| * | Merge pull request #432 from alexcrichton/mid-handshake | Steven Fackler | 2016-07-31 | 1 | -8/+112 |
| |\ | | | | | Add MidHandshakeSslStream | ||||
| | * | Add MidHandshakeSslStream | Alex Crichton | 2016-07-31 | 1 | -8/+112 |
| | | | | | | | | | | | | | 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 | 1 | -11/+28 |
| |\ | |||||
| | * | 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 | 1 | -15/+30 |
| | | | |||||
| * | | Fix a few mutable types for `self` parameters. | Corey Farwell | 2016-06-02 | 1 | -3/+3 |
| | | | |||||
| * | | 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 | 1 | -67/+14 |
| | | | |||||
| * | | Rename getters in line with conventions | Steven Fackler | 2016-05-03 | 1 | -9/+7 |
| | | | |||||
| * | | Adjust set_ssl_context API | Steven Fackler | 2016-05-03 | 1 | -12/+5 |
| | | | |||||
| * | | Error reform | Steven Fackler | 2016-05-03 | 1 | -77/+46 |
| | | | |||||
| * | | Remove deprecated methods | Steven Fackler | 2016-05-03 | 1 | -61/+1 |
| | | | |||||
| * | | Remove NonblockingSslStream | Steven Fackler | 2016-05-03 | 1 | -132/+1 |
| |/ | |||||
| * | Add a version of Ssl::set_verify that doesn't set a callback | Steven Fackler | 2016-05-01 | 1 | -1/+8 |
| | | |||||
| * | Add Ssl::set_verify | Steven Fackler | 2016-04-30 | 1 | -0/+57 |
| | | | | | | It also uses a better, closure based API than the existing callback methods. | ||||
| * | Upgrade to work with bitflags 0.5 and 0.6 | Matt Brubeck | 2016-04-29 | 1 | -42/+42 |
| | | |||||
| * | Add docs for set_default_verify_paths | Steven Fackler | 2016-04-16 | 1 | -0/+5 |
| | | |||||
| * | Add SslContext::set_default_verify_paths | Steven Fackler | 2016-04-16 | 1 | -0/+4 |
| | | |||||
| * | Update for nightly changes | Steven Fackler | 2016-04-13 | 1 | -1/+1 |
| | | |||||
| * | Add ability to set session ID context on an SSL context | Rico Huijbers | 2016-04-13 | 1 | -0/+14 |
| | | | | | | This is necessary to make authentication with client certificates work without session restarts. | ||||
| * | Add safe wrapper BioMethod for ffi::BIO_METHOD | Joe Wilm | 2016-04-04 | 1 | -3/+3 |
| | | | | | | | Adds a wrapper for ffi::BIO_METHOD located at ssl::bio::BioMethod. This enables SslStream to be Send without doing an unsafe impl on the ffi struct. | ||||
| * | Cast correctly c_char raw pointers (fixes build on ARM #363) | Leon Anavi | 2016-03-22 | 1 | -1/+1 |
| | | | | | | | | Fix error caused by mismatched types while building crate openssl for Raspberry Pi 2 and other ARM devices. Signed-off-by: Leon Anavi <[email protected]> | ||||
| * | Allow Rust to infer the type of the argument to SSL_CIPHER_description. | Ms2ger | 2016-03-18 | 1 | -2/+2 |
| | | | | | | This allows the code to compile on Android, where an unsigned char is expected. | ||||
| * | Fix nightly warnings about zero-sized fn pointers | Alex Crichton | 2016-03-11 | 1 | -2/+4 |
| | | |||||
| * | Make SSLCipher.bits() return a struct. | Erik Johnston | 2016-02-29 | 1 | -10/+14 |
| | | |||||
| * | Add SSL_get_version | Erik Johnston | 2016-02-29 | 1 | -11/+42 |
| | | |||||
| * | Add support for SSL_CIPHER | Erik Johnston | 2016-02-17 | 1 | -0/+52 |
| | | |||||
| * | Fix connect and accept error reporting | Steven Fackler | 2016-01-22 | 1 | -20/+16 |
| | | | | | | We were previously trying to create an error twice so the second wouldn't be correct. | ||||
| * | ssl: fix refcounting of SslContext when set_ssl_context is used | Cody P Schafer | 2016-01-18 | 1 | -3/+28 |
| | | | | | | | | | | | | Additionally impl Clone for SslContext to both allow us to use it & allow external users to take advantage of SslContext's internal refcount. Maintain the existing signature for set_ssl_context(), but add inline comments recommending changing it. Fixes #333 | ||||
| * | Add stream panic propagation behind a nightly feature gate | Steven Fackler | 2016-01-11 | 1 | -2/+16 |
| | | |||||
| * | Rustfmt | Steven Fackler | 2015-12-18 | 1 | -1/+1 |
| | | |||||
| * | Fix deprecation location | Steven Fackler | 2015-12-18 | 1 | -4/+4 |
| | | |||||
| * | Work around the worst of clone bogusness | Steven Fackler | 2015-12-18 | 1 | -14/+20 |
| | | | | | | | | | | | SslStream::{clone,try_clone} are inherently broken since the Ssl object shared by both streams is only going to be talking to one stream. Stuff like hyper depends on try_clone, so we'll leave it here for now but minimize the brokenness to "no worse than what it used to be like". They'll be removed in 0.8. cc #325 | ||||
| * | Fix nonblocking behavior | Steven Fackler | 2015-12-17 | 1 | -20/+8 |
| | | | | | | | | | A new nonblocking socket may not have finished connecting yet, so reads and writes can return ENOTCONNECTED which we should reinterpret into a WantRead or WantWrite Closes #323 | ||||
| * | Fix regression of c_char type mismatches on ARM | Ondrej Perutka | 2015-12-16 | 1 | -1/+1 |
| | | |||||
| * | Rustfmt | Steven Fackler | 2015-12-15 | 1 | -199/+197 |
| | | |||||
| * | Fix bounds on ssl_read and ssl_write | Steven Fackler | 2015-12-15 | 1 | -28/+28 |
| | | |||||
| * | Cleanup SNI stuff | Steven Fackler | 2015-12-15 | 1 | -13/+6 |
| | | |||||
| * | Cleanup | Steven Fackler | 2015-12-15 | 1 | -4/+6 |
| | | |||||
| * | Merge pull request #309 from Geal/master | Steven Fackler | 2015-12-15 | 1 | -0/+112 |
| |\ | | | | | Add support for Server Name indication (SNI) on the server's side | ||||
| | * | Increment SSL_CTX's reference count in Ssl::get_ssl_context() | Geoffroy Couprie | 2015-12-03 | 1 | -0/+1 |
| | | | | | | | | | | | | | Without this, whenever the returned SslContext is released, the refcount of the underlying SSL_CTX will decrease and it will be freed too soon | ||||