aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Support PNaCl/NaCl.Richard Diamond2014-11-092-22/+29
| | | |
| * | | Add overrideable platform ssl.Richard Diamond2014-11-081-0/+21
|/ / /
* | | Merge pull request #92 from jmesmon/hash-writierSteven Fackler2014-11-071-0/+21
|\ \ \ | | | | | | | | crypto/hash: impl Writer for Hasher to allow use of Reader-Writer convenience functions
| * | | Hasher::write(): add basic testCody P Schafer2014-11-071-0/+13
| | | |
| * | | crypto/hash: impl Writer for Hasher to allow use of Reader-Writer ↵Cody P Schafer2014-11-071-0/+8
|/ / / | | | | | | | | | convenience functions
* | | Merge pull request #93 from jmesmon/fix-tcpstreamSteven Fackler2014-11-071-13/+13
|\ \ \ | | | | | | | | Update to work with change in TcpStream api
| * | | Update to work with change in TcpStream apiCody P Schafer2014-11-071-13/+13
|/ / /
* | | Clean up some warningsSteven Fackler2014-10-311-2/+2
| | |
* | | Merge pull request #90 from ebfe/fix-buildSteven Fackler2014-10-308-16/+16
|\ \ \ | |_|/ |/| | fail! -> panic!
| * | fail! -> panic!Michael Gehring2014-10-308-16/+16
| | |
* | | Clean up some BN stuffSteven Fackler2014-10-263-14/+11
| |/ |/|
* | Update doc locationSteven Fackler2014-10-262-2/+2
|/
* Merge pull request #85 from vhbit/x509-load-pemSteven Fackler2014-10-165-56/+100
|\ | | | | Cert loading from PEM & restructuring
| * Cert loading from PEM & restructuring Valerii Hiora2014-10-155-56/+100
|/ | | | | | - Added cert loading - Extracted X509 tests
* Merge pull request #86 from vhbit/bn-squash-initSteven Fackler2014-10-141-25/+11
|\ | | | | Cleaned up BigNum constructors
| * Cleaned up BigNum constructorsValerii Hiora2014-10-141-25/+11
| |
* | Merge pull request #87 from vhbit/removed-nativeSteven Fackler2014-10-142-5/+0
|\ \ | |/ |/| Removed redundant files
| * Removed redundant filesValerii Hiora2014-10-142-5/+0
|/
* Merge pull request #81 from vhbit/lock-initSteven Fackler2014-10-1312-23/+46
|\ | | | | Correct init mutexes and locking function
| * Correct init mutexes and locking functionValerii Hiora2014-10-1412-23/+46
|/ | | | | | | | | `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
* Merge pull request #83 from jmesmon/set-cipher-listSteven Fackler2014-10-132-0/+9
|\ | | | | ssl: allow setting cipher list
| * ssl: allow setting cipher listCody P Schafer2014-10-132-0/+9
|/
* Merge pull request #79 from jroesch/init-cleanupSteven Fackler2014-10-123-21/+43
|\ | | | | Refactor code around initialization and error strings.
| * Refactor init and error handling codeJared Roesch2014-10-113-21/+43
|/ | | | | Move common ffi initialization code to 'ffi::init()' and the initialization of error handling to a a shared location.
* Merge pull request #62 from vhbit/feature-matrixrust-0.12Steven Fackler2014-10-102-7/+11
|\ | | | | Feature matrix & conditioned doc generation
| * Feature matrix & conditioned doc generationValerii Hiora2014-10-102-7/+11
|/ | | | | | | | | | | | - Ensures that library builds and passes all tests without any features and with `tlsv1_1`, `tlsv1_2` features enabled. Note, that `sslv2` isn’t in test case because on modern linux (like on Travis servers) `SSLv2_method` isn’t in `libssl.so` so it builds fine but fails on linking tests. - For simplification it generates docs after every build, but uploads them once - if it is `master` branch and not a pull request.
* Merge pull request #78 from alexcrichton/updateSteven Fackler2014-10-101-88/+88
|\ | | | | Prepare for s/static/const/
| * Prepare for s/static/const/Alex Crichton2014-10-091-88/+88
|/
* Merge pull request #75 from kinghajj/change-final-to-finalizeSteven Fackler2014-10-093-12/+12
|\ | | | | "final" is now a reserved word, so change occurrences to "finalize".
| * "final" is now a reserved word, so change occurrences to "finalize".Samuel Fredrickson2014-10-093-12/+12
| |
* | Merge pull request #76 from vhbit/bn-zero-intSteven Fackler2014-10-095-44/+16
|\ \ | |/ |/| BN_is_zero as a Rust function
| * BN_is_zero as a Rust functionValerii Hiora2014-10-095-44/+16
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Although wrapping was relatively easy it basically meant that we depend on C compilation which becomes nightmare as soon as multiple platforms are used. I’ve got a huge pain once iOS was involved with 3 device archs and 2 simulator arches to support, not mentioning different set of include and lib flags. So there are 2 different approaches: - continue this way, maintaining all compilation issues like like managing correct flags, providing correct paths and so on. This way our Makefile will grow extremely fast and will actually take more efforts to maintain. - doing it pure Rust way. In this case we provide all the macros expansions inside our wrappers and there should be no other way to access raw data other than through those wrappers. It might be fragile if OpenSSL internal data structures will ever change, but I think (or hope) it is pretty stable and wouldn’t change anytime soon. This PR eliminates `BN_is_zero` at all from public API. It’s functionality is implemented in `BigNum.is_zero` and should be enough. Additional notes: 1. I’ve moved BIGNUM into `bn` so it could access fields directly and keep it as an opaque structure for everyone else 2. I’ve kept empty Makefile as I hope to land `feature-matrix` branch soon and I don’t like merging deleted/added file conflicts.
* Merge pull request #74 from vhbit/doc-samplesSteven Fackler2014-10-082-1/+31
|\ | | | | X509 Generator sample
| * X509 Generator sampleValerii Hiora2014-10-082-1/+31
| | | | | | | | Forcing static linking for lib wrapped as in other case doc tests fail to locate the static library
* | Merge pull request #73 from vhbit/minor-doc-fixesSteven Fackler2014-10-073-7/+26
|\| | | | | Minor doc fixes and feature mentions
| * Minor doc fixes and feature mentionsValerii Hiora2014-10-083-7/+26
|/
* Merge pull request #72 from sfackler/revert-66-fix-failing-testSteven Fackler2014-10-072-2/+2
|\ | | | | Revert "Fix #65: failing test case"
| * Revert "Fix #65: failing test case"Steven Fackler2014-10-072-2/+2
|/
* Merge pull request #66 from jroesch/fix-failing-testSteven Fackler2014-10-072-2/+2
|\ | | | | Fix #65: failing test case
| * Fix #65: failing test caseJared Roesch2014-10-062-2/+2
| |
* | Merge pull request #67 from vhbit/membio-eofSteven Fackler2014-10-073-8/+50
|\ \ | | | | | | Fixed incorrect EOF handling in MemBio, added error description
| * | Fixed incorrect EOF handling in MemBio, added error descriptionValerii Hiora2014-10-073-8/+50
| | | | | | | | | | | | Actually, EOF wasn't handled at all and it caused `mem_bio.read_to_end()` to fail. Which in turn failed all `write_pem` implementations.
* | | Merge pull request #71 from vhbit/path-izationSteven Fackler2014-10-072-7/+7
|\ \ \ | |/ / |/| | Using `Path`s instead of plain strings
| * | Using `Path`s instead of plain stringsValerii Hiora2014-10-072-7/+7
| |/ | | | | Refs #45
* | Merge pull request #69 from vhbit/bn-zero-fixSteven Fackler2014-10-073-6/+27
|\ \ | |/ |/| Fixes #68: error on linking `bn_is_zero`
| * Potential fix for #68Valerii Hiora2014-10-073-6/+27
|/
* Merge pull request #60 from vhbit/cert-gen-cleanupSteven Fackler2014-10-065-31/+103
|\ | | | | Better error handling in cert generation
| * Better error handling in cert generationValerii Hiora2014-10-065-31/+103
|/ | | | | Now it should correctly free all resources in case of failure.
* Ignore stderr from openssl s_serverSteven Fackler2014-10-051-1/+1
|
* Ignore error string textSteven Fackler2014-10-051-0/+1
| | | | cc #65