| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Write through to underlying stream for every write call | Steven Fackler | 2015-04-30 | 3 | -11/+35 |
| | | | | | cc #208 | ||||
| * | Add X509::public_key() | Manuel Schölling | 2015-04-15 | 3 | -2/+22 |
| | | |||||
| * | Fix nightly build issues | Steven Fackler | 2015-04-15 | 2 | -8/+1 |
| | | |||||
| * | Fix non-dtls tests | Steven Fackler | 2015-04-08 | 1 | -4/+3 |
| | | |||||
| * | Fix dtls tests | Steven Fackler | 2015-04-08 | 1 | -8/+8 |
| | | | | | There's a reason static mut is unsafe... | ||||
| * | Make connected_socket a dev-dependency | Manuel Schölling | 2015-04-06 | 1 | -0/+1 |
| | | |||||
| * | Adapt code for rust-1.0.0-beta | Manuel Schölling | 2015-04-06 | 1 | -9/+6 |
| | | |||||
| * | Fix rebase errors | Manuel Schölling | 2015-04-06 | 3 | -11/+2 |
| | | |||||
| * | Add ability to load private keys from files and use raw keys and ↵ | Manuel Schölling | 2015-04-06 | 1 | -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ölling | 2015-04-06 | 1 | -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ölling | 2015-04-06 | 1 | -2/+2 |
| | | |||||
| * | Debug halteproblem with tests | Manuel Schölling | 2015-04-06 | 1 | -2/+2 |
| | | |||||
| * | Move connected_socket to its own crate and fix SSL_CTX_set_read_ahead() | Manuel Schölling | 2015-04-06 | 4 | -355/+12 |
| | | |||||
| * | Use latest OpenSSL version in travis tests and more verbose error message in ↵ | Manuel Schölling | 2015-04-06 | 1 | -2/+5 |
| | | | | | ConnectedSocket | ||||
| * | Fix detect_invalid_ipv4 test on OSX | Manuel Schölling | 2015-04-06 | 1 | -1/+1 |
| | | | | | Looks like the invalid IP 254.254.254.254 is fine for OSX | ||||
| * | Fix OSX related compiler error and correct travis OpenSSL setup | Manuel Schölling | 2015-04-06 | 1 | -3/+3 |
| | | |||||
| * | Adjust sin_len/sin6_len for non-linux platforms | Manuel Schölling | 2015-04-06 | 2 | -2/+3 |
| | | | | | | | Fixing errors for platforms you don't own is really annoying ;) Fixing errors | ||||
| * | Fix portability issue and typo | Manuel Schölling | 2015-04-06 | 3 | -23/+68 |
| | | |||||
| * | Fix travis test setup for DTLS | Manuel Schölling | 2015-04-06 | 1 | -8/+23 |
| | | |||||
| * | Add DTLSv1 and DTLSv1.2 support | Manuel Schölling | 2015-04-06 | 4 | -94/+189 |
| | | |||||
| * | Add connect() support for UDP sockets | Manuel Schölling | 2015-04-06 | 3 | -19/+360 |
| | | |||||
| * | Fix errors in tests (SslVerifyPeer -> SSL_VERIFY_PEER) | Manuel Schölling | 2015-04-03 | 1 | -16/+16 |
| | | |||||
| * | Use raw pointers instead of ptr::Unique | Manuel Schölling | 2015-04-03 | 1 | -6/+6 |
| | | |||||
| * | Return Result<(),SslError> instead of Option<SslError> | Manuel Schölling | 2015-04-03 | 2 | -22/+22 |
| | | |||||
| * | Add SslContext::add_extra_chain_cert() | Manuel Schölling | 2015-04-03 | 2 | -1/+9 |
| | | |||||
| * | Add ability to load private keys from files and use raw keys and ↵ | Manuel Schölling | 2015-04-03 | 4 | -1/+83 |
| | | | | | certificates for SslContext | ||||
| * | Change SslVerifyMode to bitflags and add SSL_VERIFY_FAIL_IF_NO_PEER_CERT | Manuel Schölling | 2015-04-03 | 2 | -20/+24 |
| | | | | | | SslVerifyMode was changed to bitflags to allow for bitwise operations like (SSL_VERIFY_PEER | SSL_VERIFY_FAIL_IF_NO_PEER_CERT). | ||||
| * | Stabilize openssl! | Steven Fackler | 2015-04-02 | 2 | -38/+42 |
| | | |||||
| * | Fixup for beta | Alex Crichton | 2015-04-02 | 6 | -13/+13 |
| | | | | | Add derive(Clone) and don't negate unsigned numbers | ||||
| * | Remove two features | Steven Fackler | 2015-04-02 | 2 | -6/+5 |
| | | |||||
| * | Fix doctest errors | Steven Fackler | 2015-04-02 | 1 | -2/+2 |
| | | |||||
| * | rustup: changes to io::Error | Sean McArthur | 2015-04-02 | 4 | -8/+6 |
| | | |||||
| * | Remove a bunch of use of core feature | Steven Fackler | 2015-03-30 | 3 | -24/+37 |
| | | |||||
| * | Remove unsafe_destructor | Steven Fackler | 2015-03-30 | 2 | -2/+1 |
| | | |||||
| * | Fix verify data free function | Steven Fackler | 2015-03-29 | 2 | -20/+27 |
| | | | | | | | | | | Turns out this is called with a null pointer if you never set the data which didn't end up doing anything until the recent zeroing drop changes. Also use a map of indexes since statics in generic functions don't monomorphize | ||||
| * | Fix error with current rust nightly | Florian Hartwig | 2015-03-29 | 1 | -1/+1 |
| | | |||||
| * | Fix npn feature | Steven Fackler | 2015-03-25 | 2 | -0/+10 |
| | | |||||
| * | Fix deprecation warnings | Steven Fackler | 2015-03-25 | 8 | -42/+37 |
| | | |||||
| * | Update to rust master | Alex Crichton | 2015-03-25 | 1 | -2/+2 |
| | | |||||
| * | openssl: Add tests for server-side NPN | Marko Lalic | 2015-03-23 | 1 | -0/+41 |
| | | |||||
| * | openssl: Add tests for client-side NPN | Marko Lalic | 2015-03-23 | 1 | -2/+74 |
| | | | | | | An additional `openssl` process is spun up before the tests are ran. This process has NPN enabled with some default protocols. | ||||
| * | openssl: Advertise NPN protocols for server sockets | Marko Lalic | 2015-03-23 | 1 | -0/+33 |
| | | | | | | | | | If a server socket is created with a context on which the `set_npn_protocols` method has been called, during TLS connection establishment, the server will advertise the list of protocols given to the method, in case the client indicates that it supports the NPN TLS extension. | ||||
| * | openssl: Add methods to get the protocol selected by NPN | Marko Lalic | 2015-03-23 | 1 | -0/+33 |
| | | | | | | | | The method is added to the `Ssl` struct, since this is how the native OpenSSL API works. It is also added to the `SslStream` convenience struct, since the `Ssl` instance that it wraps is not public and clients may want to check which protocol is in use on a particular SSL stream. | ||||
| * | openssl: Implement client-side NPN protocol selection | Marko Lalic | 2015-03-23 | 1 | -1/+34 |
| | | | | | | | | | | | | | | After the `set_npn_protocols` method of the `SslContext` struct is called, any future TLS connections established with this context will perform NPN negotiation. The chosen protocol is the one with the highest priority in the server's protocol list that is also in the client's protocol list. (This is the default behavior provided by OpenSSL's `SSL_select_next_proto` function.) If there is no overlap between the two lists, no error is raised. | ||||
| * | openssl: Add method for setting protocols to be used in NPN | Marko Lalic | 2015-03-23 | 1 | -0/+53 |
| | | | | | | | | | | | | | A new method `set_npn_protocols` is added to the `SslContext` struct, when the `npn` feature is enabled. The method takes a list of protocols that are supported by the peer. These protocols will be used during Next Protocol Negotiation. The method saves the given list within the extra data of the OpenSSL Context structure, so that the list can be referred to later on by the callbacks invoked during TLS connection establishment. | ||||
| * | Merge pull request #187 from manuels/x509_sign | Steven Fackler | 2015-03-21 | 1 | -1/+10 |
| |\ | | | | | Add X509Generator::sign() | ||||
| | * | Add X509Generator::sign() | Manuel Schölling | 2015-03-21 | 1 | -1/+10 |
| | | | |||||
| * | | Fix doc test | Steven Fackler | 2015-03-21 | 1 | -1/+1 |
| |/ | |||||
| * | Fix warnings and build issues | Steven Fackler | 2015-03-20 | 2 | -3/+2 |
| | | |||||
| * | Fix warnings | Steven Fackler | 2015-03-10 | 3 | -4/+4 |
| | | |||||