aboutsummaryrefslogtreecommitdiff
path: root/openssl/src/ssl
Commit message (Collapse)AuthorAgeFilesLines
* Fix backcompat methodSteven Fackler2015-06-291-1/+1
|
* Fix build with alpn featureSteven Fackler2015-06-292-3/+3
|
* ssl: support ALPNCody P Schafer2015-06-292-15/+213
| | | | | | | | | | Heavily based on the existing NPN wrapping code. Naming of public functions is identical to the NPN ones with `s/npn/alpn/` applied to prevent devs from needing to remember 2 names (and to let my copy the npn tests and perform the subistution to generate the apln tests). It might make sense to (at some point) use macros or a trait to cut down the duplication.
* ssl/NPN: factor out encoding of the protocol listCody P Schafer2015-06-291-8/+19
| | | | | The intention is to allow the encoding to be reused by the ALPN support code.
* ssl: use a common helper to generate new ex data indexes, switch NPN to a ↵Cody P Schafer2015-06-291-33/+17
| | | | | | | | | | | lazyref Rather than having the verification data idx generation and NPN use there own (similar) impls to generate indexes with destructors, unify them. Make NPNs use of indexes more idomatic by storing the index in a lazyref rather than having a function with static data members.
* More docsSteven Fackler2015-06-281-0/+16
|
* Fix windows buildSteven Fackler2015-06-281-0/+2
|
* DocsSteven Fackler2015-06-281-18/+10
|
* Make the direct constructors the defaultsSteven Fackler2015-06-282-35/+35
|
* Add docs for accept and connectSteven Fackler2015-06-281-0/+22
|
* Rename new_client to connect and new_server to acceptSteven Fackler2015-06-282-44/+49
|
* Implement direct IO supportSteven Fackler2015-06-282-13/+187
|
* Prepare for direct stream supportSteven Fackler2015-06-271-78/+165
|
* Docs tweakSteven Fackler2015-06-271-1/+2
|
* Reduce SslStream constructor duplicationSteven Fackler2015-06-272-41/+62
|
* Initialize stream bufferSteven Fackler2015-06-271-8/+2
|
* Fix set_hostnameSteven Fackler2015-06-271-10/+2
| | | | | | It was previously failing to null terminate the hostname string (was anyone actually using this?). Also move the macro expansion to the C shim.
* Add a test for connection negotiation failureSteven Fackler2015-06-251-1/+10
|
* Fix EOF handling in retry wrapperSteven Fackler2015-06-252-5/+7
|
* Test reading CN from test certificateJoseph Glanville2015-05-181-2/+2
|
* Add test for get_peer_certificate()Joseph Glanville2015-05-161-0/+10
|
* Add accessor for peer_certificateJoseph Glanville2015-05-161-0/+5
|
* Merge pull request #210 from manuels/pendingSteven Fackler2015-05-052-0/+36
|\ | | | | Add SslStream.pending()
| * Add SslStream.pending()Manuel Schölling2015-04-302-0/+36
| |
* | Abstract over AsRef<Path>Steven Fackler2015-05-021-7/+7
|/
* Write through to underlying stream for every write callSteven Fackler2015-04-302-10/+35
| | | | cc #208
* Fix nightly build issuesSteven Fackler2015-04-152-8/+1
|
* Fix non-dtls testsSteven Fackler2015-04-081-4/+3
|
* Fix dtls testsSteven Fackler2015-04-081-8/+8
| | | | There's a reason static mut is unsafe...
* Adapt code for rust-1.0.0-betaManuel Schölling2015-04-061-9/+6
|
* Fix rebase errorsManuel Schölling2015-04-062-9/+2
|
* Add ability to load private keys from files and use raw keys and ↵Manuel Schölling2015-04-061-1/+1
| | | | | | | | certificates for SslContext Conflicts: openssl/src/crypto/pkey.rs openssl/src/ssl/tests.rs
* Add ability to load private keys from files and use raw keys and ↵Manuel Schölling2015-04-061-2/+5
| | | | | | | certificates for SslContext Conflicts: openssl/src/ssl/tests.rs
* Change SslContext::set_read_ahead(c_long) to SslContext::set_read_ahead(u32)Manuel Schölling2015-04-061-2/+2
|
* Debug halteproblem with testsManuel Schölling2015-04-061-2/+2
|
* Move connected_socket to its own crate and fix SSL_CTX_set_read_ahead()Manuel Schölling2015-04-063-355/+9
|
* Use latest OpenSSL version in travis tests and more verbose error message in ↵Manuel Schölling2015-04-061-2/+5
| | | | ConnectedSocket
* Fix detect_invalid_ipv4 test on OSXManuel Schölling2015-04-061-1/+1
| | | | Looks like the invalid IP 254.254.254.254 is fine for OSX
* Fix OSX related compiler error and correct travis OpenSSL setupManuel Schölling2015-04-061-3/+3
|
* Adjust sin_len/sin6_len for non-linux platformsManuel Schölling2015-04-062-2/+3
| | | | | | Fixing errors for platforms you don't own is really annoying ;) Fixing errors
* Fix portability issue and typoManuel Schölling2015-04-063-23/+68
|
* Fix travis test setup for DTLSManuel Schölling2015-04-061-8/+23
|
* Add DTLSv1 and DTLSv1.2 supportManuel Schölling2015-04-063-94/+187
|
* Add connect() support for UDP socketsManuel Schölling2015-04-063-19/+360
|
* Fix errors in tests (SslVerifyPeer -> SSL_VERIFY_PEER)Manuel Schölling2015-04-031-16/+16
|
* Use raw pointers instead of ptr::UniqueManuel Schölling2015-04-031-6/+6
|
* Return Result<(),SslError> instead of Option<SslError>Manuel Schölling2015-04-032-22/+22
|
* Add SslContext::add_extra_chain_cert()Manuel Schölling2015-04-031-0/+9
|
* Add ability to load private keys from files and use raw keys and ↵Manuel Schölling2015-04-032-1/+49
| | | | certificates for SslContext
* Change SslVerifyMode to bitflags and add SSL_VERIFY_FAIL_IF_NO_PEER_CERTManuel Schölling2015-04-032-20/+24
| | | | | SslVerifyMode was changed to bitflags to allow for bitwise operations like (SSL_VERIFY_PEER | SSL_VERIFY_FAIL_IF_NO_PEER_CERT).