| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | 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. | |||||
| * | openssl/ssl/context: test that we are refcounting correctly | Cody P Schafer | 2016-01-18 | 1 | -0/+13 | |
| | | | | | | | | | | | Not a perfect test, on failure it _might_ exit with this output: Process didn't exit successfully: `/home/cody/g/rust-openssl/openssl/target/debug/openssl-8e712036e3aac4fe` (signal: 11) But unclear if we can do any better. | |||||
| * | 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 | |||||
| * | Fix should_panic check | Steven Fackler | 2016-01-11 | 1 | -3/+3 | |
| | | ||||||
| * | Add stream panic propagation behind a nightly feature gate | Steven Fackler | 2016-01-11 | 3 | -12/+192 | |
| | | ||||||
| * | Rustfmt | Steven Fackler | 2015-12-18 | 2 | -2/+2 | |
| | | ||||||
| * | Fix deprecation location | Steven Fackler | 2015-12-18 | 1 | -4/+4 | |
| | | ||||||
| * | Work around the worst of clone bogusness | Steven Fackler | 2015-12-18 | 3 | -43/+37 | |
| | | | | | | | | | | | 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 | |||||
| * | Disable cross compilation for now | Steven Fackler | 2015-12-17 | 1 | -1/+2 | |
| | | ||||||
| * | Fix nonblocking behavior | Steven Fackler | 2015-12-17 | 2 | -22/+17 | |
| | | | | | | | | | 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 | 3 | -306/+327 | |
| | | ||||||
| * | 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 | |||||
| | * | Make shims for SSL_CTX_ctrl and SSL_CTX_callback_ctrl macro wrappers | Geoffroy Couprie | 2015-11-25 | 1 | -3/+3 | |
| | | | ||||||
| | * | fix memory management | Geoffroy Couprie | 2015-11-25 | 1 | -5/+3 | |
| | | | ||||||
| | * | Avoid freeing the SSL object when Ssl is dropped | Geoffroy Couprie | 2015-11-24 | 1 | -10/+19 | |
| | | | ||||||
| | * | implement get/set ssl context | Geoffroy Couprie | 2015-11-24 | 1 | -0/+8 | |
| | | | ||||||
| | * | test SNI support | Geoffroy Couprie | 2015-11-24 | 1 | -0/+96 | |
| | | | ||||||
| * | | Document unused variant | Steven Fackler | 2015-12-14 | 1 | -1/+1 | |
| | | | | | | | | | No reason to hide it | |||||
| * | | Yet more AsRawSocket fixes | Steven Fackler | 2015-12-12 | 1 | -1/+1 | |
| | | | ||||||
| * | | More AsRawSocket fixes | Steven Fackler | 2015-12-12 | 1 | -1/+1 | |
| | | | ||||||
| * | | Fix AsRawSocket impls | Steven Fackler | 2015-12-12 | 1 | -2/+2 | |
| | | | ||||||
| * | | Have NonblockingSslStream delegate to SslStream | Steven Fackler | 2015-12-12 | 2 | -158/+84 | |
| | | | ||||||
| * | | Build out a new error type | Steven Fackler | 2015-12-12 | 2 | -35/+231 | |
| | | | ||||||
| * | | Make error handling more reliable | Steven Fackler | 2015-12-10 | 1 | -5/+16 | |
| | | | ||||||
| * | | Replace SslStream implementation! | Steven Fackler | 2015-12-09 | 2 | -532/+114 | |
| | | | ||||||
| * | | Implement read and write | Steven Fackler | 2015-12-09 | 2 | -96/+142 | |
| | | | ||||||
| * | | IT LIVES | Steven Fackler | 2015-12-09 | 3 | -15/+144 | |
| | | | ||||||
| * | | Custom BIO infrastructure | Steven Fackler | 2015-12-08 | 2 | -0/+142 | |
| | | | ||||||
| * | | Cast correctly c_char raw pointers (fixes build on ARM #314) | Ondrej Perutka | 2015-11-30 | 2 | -12/+15 | |
| |/ | ||||||
| * | Implement try_clone for MaybeSslStream | Steven Fackler | 2015-11-20 | 1 | -0/+10 | |
| | | | | | Closes #308 | |||||
| * | Fixed a typo in a comment. | Alex Gaynor | 2015-11-19 | 1 | -1/+1 | |
| | | ||||||
| * | Split stuff requiring a shim out to a separate crate | Steven Fackler | 2015-11-16 | 1 | -46/+47 | |
| | | ||||||
| * | Switch to libc 0.2 | Steven Fackler | 2015-11-16 | 1 | -29/+14 | |
| | | ||||||
| * | Move SSL methods to Ssl object, add getter | Steven Fackler | 2015-11-16 | 2 | -124/+66 | |
| | | ||||||
| * | Revert "Revert "Merge pull request #280 from ltratt/libressl_build"" | Steven Fackler | 2015-11-16 | 2 | -4/+3 | |
| | | | | | This reverts commit ae3d0e36d71bb121c2fc1a75b3bc6d97f0e61480. | |||||
| * | Better debug impls | Steven Fackler | 2015-10-26 | 1 | -3/+7 | |
| | | ||||||
| * | Get nonblocking tests working on OSX/Windows | Alex Crichton | 2015-10-22 | 2 | -120/+189 | |
| | | ||||||
| * | Nonblocking streams support. | Jamie Turner | 2015-10-20 | 3 | -2/+405 | |
| | | ||||||
| * | Revert "Merge pull request #280 from ltratt/libressl_build" | Steven Fackler | 2015-10-14 | 2 | -3/+4 | |
| | | | | | | This reverts commit aad933e5077b2c73e1f05d7314e442531a562bcf, reversing changes made to 60ee731408facdc8e3dfc000fdee2f1291fad664. | |||||
| * | Add set_certificate_chain_file() | Frank Denis | 2015-10-12 | 1 | -0/+10 | |
| | | | | | | | | | SSL_CTX_use_certificate_chain_file() is preferred over SSL_CTX_use_certificate_file(). It allows the use of complete certificate chains instead of loading only the first certificate in a PEM file. | |||||
| * | Fix build on LibreSSL. | Laurence Tratt | 2015-10-03 | 2 | -4/+3 | |
| | | | | | | | | | | LibreSSL has deprecated SSLv3_method, so this commit makes that a compile-time feature. It also removes a test referencing SSL_OP_CISCO_ANYCONNECT, as the LibreSSL header says it is amongst "Obsolete flags kept for compatibility. No sane code should use them." | |||||
| * | Update documentation about SSLv23 | John Downey | 2015-10-02 | 1 | -1/+2 | |
| | | | | | | | | In OpenSSL world, the SSLv23 option is a poorly name method that will negotiate what version of TLS or SSL to use. It starts with the best version the library supports and then precedes to keep trying all the way down to SSL 2.0. | |||||
| * | Add an ecdh_auto description | Frank Denis | 2015-09-25 | 1 | -0/+4 | |
| | | ||||||
| * | Add SSL::set_ecdh_auto() | Frank Denis | 2015-09-25 | 1 | -0/+8 | |
| | | | | | | This sets automatic curve selection and enables ECDH support. Requires LibreSSL or OpenSSL >= 1.0.2, so behind a feature gate. | |||||
| * | Enable testing on Windows via AppVeyor | Alex Crichton | 2015-09-22 | 1 | -55/+163 | |
| | | | | | | | | 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. | |||||