aboutsummaryrefslogtreecommitdiff
path: root/openssl/src/ssl/tests.rs
Commit message (Collapse)AuthorAgeFilesLines
* Get nonblocking tests working on OSX/WindowsAlex Crichton2015-10-221-953/+0
|
* Nonblocking streams support.Jamie Turner2015-10-201-0/+132
|
* Revert "Merge pull request #280 from ltratt/libressl_build"Steven Fackler2015-10-141-0/+4
| | | | | This reverts commit aad933e5077b2c73e1f05d7314e442531a562bcf, reversing changes made to 60ee731408facdc8e3dfc000fdee2f1291fad664.
* Fix build on LibreSSL.Laurence Tratt2015-10-031-4/+0
| | | | | | | | | 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."
* Enable testing on Windows via AppVeyorAlex Crichton2015-09-221-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.
* ssl/alpn: test mismatch between protocols resulting in NoneCody P Schafer2015-09-161-0/+43
|
* openssl/ssl: fix some of the comment text where I missed replacing NPN with ALPNCody P Schafer2015-09-011-3/+3
|
* Add get_state_string()Manuel Schölling2015-08-171-0/+8
|
* Fix probelms with DTLS when no packets are pending.Manuel Schölling2015-07-181-1/+6
| | | | | | | | | | | When using DTLS you might run into the situation where no packets are pending, so SSL_read returns len=0. On a TLS connection this means that the connection was closed, but on DTLS it does not (a DTLS connection cannot be closed in the usual sense). This commit fixes a bug introduced by c8d23f3. Conflicts: openssl/src/ssl/mod.rs
* Fix build with alpn featureSteven Fackler2015-06-291-2/+2
|
* ssl: support ALPNCody P Schafer2015-06-291-0/+113
| | | | | | | | | | 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.
* Make the direct constructors the defaultsSteven Fackler2015-06-281-25/+25
|
* Rename new_client to connect and new_server to acceptSteven Fackler2015-06-281-27/+27
|
* Implement direct IO supportSteven Fackler2015-06-281-1/+18
|
* Reduce SslStream constructor duplicationSteven Fackler2015-06-271-23/+23
|
* Add a test for connection negotiation failureSteven Fackler2015-06-251-1/+10
|
* Fix EOF handling in retry wrapperSteven Fackler2015-06-251-1/+1
|
* Test reading CN from test certificateJoseph Glanville2015-05-181-2/+2
|
* Add test for get_peer_certificate()Joseph Glanville2015-05-161-0/+10
|
* Add SslStream.pending()Manuel Schölling2015-04-301-0/+24
|
* Write through to underlying stream for every write callSteven Fackler2015-04-301-3/+28
| | | | cc #208
* Fix nightly build issuesSteven Fackler2015-04-151-1/+0
|
* 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-061-8/+1
|
* 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
* 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-061-5/+6
|
* Adjust sin_len/sin6_len for non-linux platformsManuel Schölling2015-04-061-1/+1
| | | | | | Fixing errors for platforms you don't own is really annoying ;) Fixing errors
* Fix portability issue and typoManuel Schölling2015-04-061-5/+4
|
* Fix travis test setup for DTLSManuel Schölling2015-04-061-8/+23
|
* Add DTLSv1 and DTLSv1.2 supportManuel Schölling2015-04-061-80/+135
|
* Add connect() support for UDP socketsManuel Schölling2015-04-061-18/+52
|
* Fix errors in tests (SslVerifyPeer -> SSL_VERIFY_PEER)Manuel Schölling2015-04-031-16/+16
|
* Return Result<(),SslError> instead of Option<SslError>Manuel Schölling2015-04-031-11/+11
|
* Add ability to load private keys from files and use raw keys and ↵Manuel Schölling2015-04-031-1/+24
| | | | certificates for SslContext
* Change SslVerifyMode to bitflags and add SSL_VERIFY_FAIL_IF_NO_PEER_CERTManuel Schölling2015-04-031-11/+12
| | | | | SslVerifyMode was changed to bitflags to allow for bitwise operations like (SSL_VERIFY_PEER | SSL_VERIFY_FAIL_IF_NO_PEER_CERT).
* Fix npn featureSteven Fackler2015-03-251-0/+6
|
* Fix deprecation warningsSteven Fackler2015-03-251-4/+3
|
* openssl: Add tests for server-side NPNMarko Lalic2015-03-231-0/+41
|
* openssl: Add tests for client-side NPNMarko Lalic2015-03-231-2/+74
| | | | | An additional `openssl` process is spun up before the tests are ran. This process has NPN enabled with some default protocols.
* Merge pull request #172 from reaperhulk/add-ssl-ctx-set-get-optionsSteven Fackler2015-03-071-0/+25
|\ | | | | add support for SSL_CTX_set_options and SSL_CTX_get_options
| * add support for SSL_CTX_clear_options and use bitflagsPaul Kehrer2015-02-231-4/+15
| |
| * add support for SSL_CTX_set_options and SSL_CTX_get_optionsPaul Kehrer2015-02-221-0/+14
| | | | | | | | fixes #168
* | Convert to new IO.Steven Fackler2015-02-241-16/+6
|/
* Update depreciated codeKevin Butler2015-02-201-2/+2
|
* Move docs to this repo and auto buildSteven Fackler2015-02-071-0/+207