| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | 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 | 3 | -94/+187 | |
| | | ||||||
| * | 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 | 1 | -0/+9 | |
| | | ||||||
| * | Add ability to load private keys from files and use raw keys and ↵ | Manuel Schölling | 2015-04-03 | 2 | -1/+49 | |
| | | | | | 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 | 1 | -37/+42 | |
| | | ||||||
| * | Remove two features | Steven Fackler | 2015-04-02 | 1 | -5/+4 | |
| | | ||||||
| * | rustup: changes to io::Error | Sean McArthur | 2015-04-02 | 2 | -3/+3 | |
| | | ||||||
| * | Remove a bunch of use of core feature | Steven Fackler | 2015-03-30 | 1 | -17/+32 | |
| | | ||||||
| * | Fix verify data free function | Steven Fackler | 2015-03-29 | 1 | -16/+22 | |
| | | | | | | | | | | 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 | 3 | -9/+7 | |
| | | ||||||
| * | 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. | |||||
| * | Fix warnings | Steven Fackler | 2015-03-10 | 1 | -1/+1 | |
| | | ||||||
| * | Merge pull request #172 from reaperhulk/add-ssl-ctx-set-get-options | Steven Fackler | 2015-03-07 | 2 | -0/+81 | |
| |\ | | | | | add support for SSL_CTX_set_options and SSL_CTX_get_options | |||||
| | * | add support for SSL_CTX_clear_options and use bitflags | Paul Kehrer | 2015-02-23 | 2 | -11/+66 | |
| | | | ||||||
| | * | add support for SSL_CTX_set_options and SSL_CTX_get_options | Paul Kehrer | 2015-02-22 | 2 | -0/+26 | |
| | | | | | | | | | fixes #168 | |||||
| * | | Added try_clone to SslStream for SslStream<TcpStream>. | Aaron Weiss | 2015-03-02 | 1 | -0/+12 | |
| | | | ||||||
| * | | Convert to new IO. | Steven Fackler | 2015-02-24 | 3 | -89/+63 | |
| |/ | ||||||
| * | Update depreciated code | Kevin Butler | 2015-02-20 | 3 | -13/+13 | |
| | | ||||||
| * | Unique<T> now derefs to *mut T | Kevin Butler | 2015-02-20 | 1 | -26/+27 | |
| | | ||||||
| * | Rename method for clarity | Steven Fackler | 2015-02-16 | 1 | -2/+2 | |
| | | ||||||
| * | Properly handle errors in write | Steven Fackler | 2015-02-16 | 1 | -18/+29 | |
| | | ||||||
| * | Deal with openssl errors in read | Steven Fackler | 2015-02-16 | 2 | -4/+26 | |
| | | | | | | | | I'm not sure of a great way to generate this case in a test, unfortunately. Closes #157 | |||||
| * | rustup to current master | Robin Gloster | 2015-02-12 | 1 | -24/+24 | |
| | | ||||||
| * | Move docs to this repo and auto build | Steven Fackler | 2015-02-07 | 3 | -0/+972 | |