aboutsummaryrefslogtreecommitdiff
path: root/openssl/src/ssl/mod.rs
Commit message (Collapse)AuthorAgeFilesLines
* RustfmtSteven Fackler2016-05-161-15/+30
|
* Add a version of Ssl::set_verify that doesn't set a callbackSteven Fackler2016-05-011-1/+8
|
* Add Ssl::set_verifySteven Fackler2016-04-301-0/+57
| | | | | It also uses a better, closure based API than the existing callback methods.
* Upgrade to work with bitflags 0.5 and 0.6Matt Brubeck2016-04-291-42/+42
|
* Add docs for set_default_verify_pathsSteven Fackler2016-04-161-0/+5
|
* Add SslContext::set_default_verify_pathsSteven Fackler2016-04-161-0/+4
|
* Update for nightly changesSteven Fackler2016-04-131-1/+1
|
* Add ability to set session ID context on an SSL contextRico Huijbers2016-04-131-0/+14
| | | | | This is necessary to make authentication with client certificates work without session restarts.
* Add safe wrapper BioMethod for ffi::BIO_METHODJoe Wilm2016-04-041-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 Anavi2016-03-221-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.Ms2ger2016-03-181-2/+2
| | | | | This allows the code to compile on Android, where an unsigned char is expected.
* Fix nightly warnings about zero-sized fn pointersAlex Crichton2016-03-111-2/+4
|
* Make SSLCipher.bits() return a struct.Erik Johnston2016-02-291-10/+14
|
* Add SSL_get_versionErik Johnston2016-02-291-11/+42
|
* Add support for SSL_CIPHERErik Johnston2016-02-171-0/+52
|
* Fix connect and accept error reportingSteven Fackler2016-01-221-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 usedCody P Schafer2016-01-181-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 gateSteven Fackler2016-01-111-2/+16
|
* RustfmtSteven Fackler2015-12-181-1/+1
|
* Fix deprecation locationSteven Fackler2015-12-181-4/+4
|
* Work around the worst of clone bogusnessSteven Fackler2015-12-181-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 behaviorSteven Fackler2015-12-171-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 ARMOndrej Perutka2015-12-161-1/+1
|
* RustfmtSteven Fackler2015-12-151-199/+197
|
* Fix bounds on ssl_read and ssl_writeSteven Fackler2015-12-151-28/+28
|
* Cleanup SNI stuffSteven Fackler2015-12-151-13/+6
|
* CleanupSteven Fackler2015-12-151-4/+6
|
* Merge pull request #309 from Geal/masterSteven Fackler2015-12-151-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 Couprie2015-12-031-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 wrappersGeoffroy Couprie2015-11-251-3/+3
| |
| * fix memory managementGeoffroy Couprie2015-11-251-5/+3
| |
| * Avoid freeing the SSL object when Ssl is droppedGeoffroy Couprie2015-11-241-10/+19
| |
| * implement get/set ssl contextGeoffroy Couprie2015-11-241-0/+8
| |
| * test SNI supportGeoffroy Couprie2015-11-241-0/+96
| |
* | Yet more AsRawSocket fixesSteven Fackler2015-12-121-1/+1
| |
* | More AsRawSocket fixesSteven Fackler2015-12-121-1/+1
| |
* | Fix AsRawSocket implsSteven Fackler2015-12-121-2/+2
| |
* | Have NonblockingSslStream delegate to SslStreamSteven Fackler2015-12-121-147/+66
| |
* | Build out a new error typeSteven Fackler2015-12-121-23/+95
| |
* | Make error handling more reliableSteven Fackler2015-12-101-5/+16
| |
* | Replace SslStream implementation!Steven Fackler2015-12-091-512/+113
| |
* | Implement read and writeSteven Fackler2015-12-091-96/+130
| |
* | IT LIVESSteven Fackler2015-12-091-0/+101
| |
* | Custom BIO infrastructureSteven Fackler2015-12-081-0/+1
| |
* | Cast correctly c_char raw pointers (fixes build on ARM #314)Ondrej Perutka2015-11-301-9/+9
|/
* Implement try_clone for MaybeSslStreamSteven Fackler2015-11-201-0/+10
| | | | Closes #308
* Fixed a typo in a comment.Alex Gaynor2015-11-191-1/+1
|
* Split stuff requiring a shim out to a separate crateSteven Fackler2015-11-161-46/+47
|
* Move SSL methods to Ssl object, add getterSteven Fackler2015-11-161-105/+47
|
* Revert "Revert "Merge pull request #280 from ltratt/libressl_build""Steven Fackler2015-11-161-0/+3
| | | | This reverts commit ae3d0e36d71bb121c2fc1a75b3bc6d97f0e61480.