aboutsummaryrefslogtreecommitdiff
path: root/src/ssl/mod.rs
Commit message (Collapse)AuthorAgeFilesLines
* Move docs to this repo and auto buildSteven Fackler2015-02-071-643/+0
|
* Fix for IO changesSteven Fackler2015-01-281-11/+11
|
* Fix for upstream changesSteven Fackler2015-01-231-9/+9
|
* Add Show implsSteven Fackler2015-01-091-3/+24
|
* Update to rust masterAlex Crichton2015-01-091-9/+9
|
* Handle recent breaking changesValerii Hiora2015-01-071-24/+25
| | | | | | | - macro reform - split of Show and String in formatter - CString reform - feature changes
* Update rustPeter Atashian2015-01-061-2/+2
| | | | Signed-off-by: Peter Atashian <[email protected]>
* Fix deprecation warningsSteven Fackler2015-01-031-2/+2
|
* Updated to master:Valerii Hiora2015-01-031-5/+7
| | | | | | - library stab issues - deriving -> derive - {mod} -> {self}
* ssl: use std::ptr::Unique to fix for opt-in SyncCody P Schafer2014-12-291-28/+28
| | | | | | | | | | | | | | | Modifies Ssl & SslContext. This removes the errors like: src/ssl/tests.rs:202:14: 202:27 error: the trait `core::kinds::Send` is not implemented for the type `*mut libc::types::common::c95::c_void` src/ssl/tests.rs:202 let _t = Thread::spawn(move || { ^~~~~~~~~~~~~ src/ssl/tests.rs:202:14: 202:27 note: the type `*mut libc::types::common::c95::c_void` must implement `core::kinds::Send` because it appears within the type `ssl::Ssl` We may want some locking around calls that do multiple operations on the underlying Ssl and SslContext objects, but this lets us preserve functionality for now.
* Update to rust masterAlex Crichton2014-12-231-3/+8
|
* Print unexpected error codesSteven Fackler2014-12-191-2/+2
| | | | This is breaking occaisionally but I can't repro it locally :(
* Track master: proc removal, tuple indexingValerii Hiora2014-12-151-1/+1
|
* Update to nightly: explicit Copy traitValerii Hiora2014-12-111-0/+2
|
* Speed up SslStream initialization a bitSteven Fackler2014-12-061-1/+8
|
* Make SslStream CloneableSteven Fackler2014-11-291-4/+5
| | | | Closes #6
* Add MaybeSslStreamSteven Fackler2014-11-281-1/+73
|
* Sync is now part of the standard libraryAndor Uhlár2014-11-261-1/+1
|
* Allow access to the underlying streamSteven Fackler2014-11-251-0/+9
| | | | | The use case here is to allow methods like `set_read_timeout` to be called.
* Fix deprecation warningSteven Fackler2014-11-241-2/+1
|
* ssl: add get_peer_certificate()Cody P Schafer2014-11-241-1/+12
|
* Baseline server supportCody P Schafer2014-11-191-13/+24
| | | | | Allows calling SSL_accept() instead of SSL_connect() when creating an SslStream.
* Fixed compilation errors related to namedspaced enumsJames Hurst2014-11-171-10/+10
|
* Correct init mutexes and locking functionValerii Hiora2014-10-141-22/+1
| | | | | | | | | `libcrypto` uses locks quite intensively even without SSL. So they should be initialized before everything else to function properly in multi-threaded apps in which SSL operations are absent or delayed. Finishes #79
* ssl: allow setting cipher listCody P Schafer2014-10-131-0/+8
|
* Refactor init and error handling codeJared Roesch2014-10-111-3/+2
| | | | | Move common ffi initialization code to 'ffi::init()' and the initialization of error handling to a a shared location.
* Minor doc fixes and feature mentionsValerii Hiora2014-10-081-5/+7
|
* Revert "Fix #65: failing test case"Steven Fackler2014-10-071-1/+1
|
* Merge pull request #66 from jroesch/fix-failing-testSteven Fackler2014-10-071-1/+1
|\ | | | | Fix #65: failing test case
| * Fix #65: failing test caseJared Roesch2014-10-061-1/+1
| |
* | Using `Path`s instead of plain stringsValerii Hiora2014-10-071-3/+3
|/ | | Refs #45
* Load crypto error stringsJared Roesch2014-10-051-1/+2
|
* Make errors human readableJared Roesch2014-10-051-0/+1
| | | | Change error messages from numeric codes to human readable strings. This makes debugging failures much easier.
* Changes made to support 0.12.0-dev ( October 2, 2014 )D.K2014-10-041-1/+1
|
* Simpler setter for verify with dataValerii Hiora2014-10-041-2/+4
| | | | | There is no need in wrapping function in option as there is no sense in providing data without function.
* User-provided data in verifyValerii Hiora2014-10-021-1/+82
|
* Fixed mut_null deprecation warningsValerii Hiora2014-09-301-1/+1
|
* single `ffi` moduleValerii Hiora2014-09-301-6/+6
|
* Certificate/pkey generation & PEM exportValerii Hiora2014-09-261-226/+22
| | | Required quite a lot of refactoring
* TLS 1_1, 1_2, Ssl 2 is enabled by featuresValerii Hiora2014-09-231-2/+6
|
* Enabling TLS1.2 supportValerii Hiora2014-09-231-1/+6
| | | | | | | Unfortunately OS X comes with 0.9.8 bundled. There is a way to install a recent version through homebrew, however it is extremely hard to make it link agains brewed version without tricking link version
* Get certificate fingerprintValerii Hiora2014-09-201-1/+25
|
* Merge pull request #47 from vhbit/cert-key-authSteven Fackler2014-09-191-7/+38
|\ | | | | Allow to set cert/key pair
| * Fixed documentation stringValerii Hiora2014-09-171-1/+1
| |
| * Allow to set cert/key pairValerii Hiora2014-09-171-7/+38
| |
* | Update for rust rfc 52 changesMichael Gehring2014-09-171-4/+4
|/
* Remove failing constructor wrappersSteven Fackler2014-09-051-23/+6
|
* Merge pull request #39 from andrew-d/andrew-support-tls-sniSteven Fackler2014-09-051-10/+38
|\ | | | | Allow setting hostname to support TLS-SNI
| * Make Ssl public, add new constructor to SslStream that takes an Ssl instanceAndrew Dunham2014-09-041-10/+15
| |
| * Allow setting hostname to support TLS-SNIAndrew Dunham2014-09-041-0/+23
| |