aboutsummaryrefslogtreecommitdiff
path: root/openssl/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix verify data free functionSteven Fackler2015-03-292-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 nightlyFlorian Hartwig2015-03-291-1/+1
|
* Fix npn featureSteven Fackler2015-03-252-0/+10
|
* Fix deprecation warningsSteven Fackler2015-03-258-42/+37
|
* Update to rust masterAlex Crichton2015-03-251-2/+2
|
* 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.
* openssl: Advertise NPN protocols for server socketsMarko Lalic2015-03-231-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 NPNMarko Lalic2015-03-231-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 selectionMarko Lalic2015-03-231-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 NPNMarko Lalic2015-03-231-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_signSteven Fackler2015-03-211-1/+10
|\ | | | | Add X509Generator::sign()
| * Add X509Generator::sign()Manuel Schölling2015-03-211-1/+10
| |
* | Fix doc testSteven Fackler2015-03-211-1/+1
|/
* Fix warnings and build issuesSteven Fackler2015-03-202-3/+2
|
* Fix warningsSteven Fackler2015-03-103-4/+4
|
* Merge pull request #172 from reaperhulk/add-ssl-ctx-set-get-optionsSteven Fackler2015-03-073-0/+84
|\ | | | | add support for SSL_CTX_set_options and SSL_CTX_get_options
| * add support for SSL_CTX_clear_options and use bitflagsPaul Kehrer2015-02-233-11/+69
| |
| * add support for SSL_CTX_set_options and SSL_CTX_get_optionsPaul Kehrer2015-02-222-0/+26
| | | | | | | | fixes #168
* | Added try_clone to SslStream for SslStream<TcpStream>.Aaron Weiss2015-03-022-1/+13
| |
* | Merge branch 'breaks'Steven Fackler2015-02-2710-155/+142
|\ \ | | | | | | | | | | | | Conflicts: openssl/src/lib.rs
| * | Convert to new IO.Steven Fackler2015-02-2410-155/+142
| | |
| * | Switch to cargo liblibcSteven Fackler2015-02-241-1/+1
| |/
* / Silence stability warningSteven Fackler2015-02-261-1/+1
|/
* Remove old attributesSteven Fackler2015-02-211-3/+0
|
* Update depreciated codeKevin Butler2015-02-207-25/+25
|
* Unique<T> now derefs to *mut TKevin Butler2015-02-201-26/+27
|
* Fix warningsSteven Fackler2015-02-191-1/+1
|
* Rename method for claritySteven Fackler2015-02-161-2/+2
|
* Properly handle errors in writeSteven Fackler2015-02-161-18/+29
|
* Deal with openssl errors in readSteven Fackler2015-02-162-4/+26
| | | | | | | I'm not sure of a great way to generate this case in a test, unfortunately. Closes #157
* Remove deprecated functions from openssl-sysSteven Fackler2015-02-131-1/+1
|
* rustup to current masterRobin Gloster2015-02-121-24/+24
|
* Fix builds against 0.9.x OpenSSLSteven Fackler2015-02-081-9/+8
| | | | Namely builds on OSX
* Move docs to this repo and auto buildSteven Fackler2015-02-0718-0/+4138