aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* / Potential fix for #68Valerii Hiora2014-10-072-3/+19
|/
* Better error handling in cert generationValerii Hiora2014-10-065-31/+103
| | | | | Now it should correctly free all resources in case of failure.
* Ignore error string textSteven Fackler2014-10-051-0/+1
| | | | cc #65
* Load crypto error stringsJared Roesch2014-10-052-2/+4
|
* Fix error messagesJared Roesch2014-10-051-3/+3
|
* Address CR comments and add a testJared Roesch2014-10-051-9/+21
|
* Make errors human readableJared Roesch2014-10-053-9/+17
| | | | Change error messages from numeric codes to human readable strings. This makes debugging failures much easier.
* Clean up warningsSteven Fackler2014-10-042-2/+2
|
* Changes made to support 0.12.0-dev ( October 2, 2014 )D.K2014-10-042-5/+3
|
* Merge pull request #64 from reem/fix/big-num-is-zeroSteven Fackler2014-10-041-2/+7
|\ | | | | Add a dummy bn_is_zero C dependency to wrap BN_is_zero
| * Add a dummy bn_is_zero C dependency to wrap BN_is_zeroJonathan Reem2014-10-041-2/+7
| | | | | | | | | | | | | | | | | | This is necessary because on some architectures BN_is_zero is a CPP macro, so trying to link against it in an `extern "C"` block causes a linker error. This also introduces a build command to Cargo to compile the bn_is_zero wrapper.
* | Merge pull request #58 from vhbit/verify-dataSteven Fackler2014-10-044-3/+133
|\ \ | |/ |/| User-provided data in verify
| * Simpler setter for verify with dataValerii Hiora2014-10-042-3/+5
| | | | | | | | | | 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-024-3/+131
| |
* | Add bindings to CRYPTO_memcmpAlex Crichton2014-10-013-1/+43
|/ | | | This should help other projects use a constant-time memory comparison.
* Unification and explicity in FFI type declsValerii Hiora2014-09-302-19/+19
|
* Fixed mut_null deprecation warningsValerii Hiora2014-09-302-5/+5
|
* single `ffi` moduleValerii Hiora2014-09-3015-649/+571
|
* Merge pull request #53 from vhbit/cert-genSteven Fackler2014-09-309-313/+782
|\ | | | | Certificate/PKey generation & PEM export
| * Addressed review commentsValerii Hiora2014-09-284-14/+5
| | | | | | | | | | | | | | | | | | | | | | | | - fixed invalid file permissions - removed redundand mem::transmute - removed outdated FIXME's - removed redundand temporary variable - removed macro_export for internal macros
| * Certificate/pkey generation & PEM exportValerii Hiora2014-09-269-313/+791
| | | | | | Required quite a lot of refactoring
* | Removed BN_sub_word signature for the time being.Chris Cole2014-09-281-1/+0
| |
* | Removing unused signatures for the time being.Chris Cole2014-09-271-3/+0
| |
* | Use CRYPTO_free to free the result of BN_bn2bin.Chris Cole2014-09-271-6/+2
| |
* | Added signatures forBN_sub_word, BN_is_zero, BN_is_one, BN_is_word,Chris Cole2014-09-271-4/+53
|/ | | | | | | | and BN_is_odd. Fixed incorrect BN_mod_inverse signature. Added signature for BN_bn2dec. Added trait implementations for Zero, One, and fmt::Show. Added to_dec_str function to BigNum impl.
* Merge pull request #46 from vhbit/tls1-2-supportSteven Fackler2014-09-252-4/+27
|\ | | | | Enabling TLS1.2 support
| * TLS 1_1, 1_2, Ssl 2 is enabled by featuresValerii Hiora2014-09-232-5/+12
| |
| * Enabling TLS1.2 supportValerii Hiora2014-09-232-1/+17
| | | | | | | | | | | | | | 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
* | Fix deprecation warningsMichael Gehring2014-09-232-29/+34
|/
* Get certificate fingerprintValerii Hiora2014-09-202-2/+28
|
* Merge pull request #47 from vhbit/cert-key-authSteven Fackler2014-09-192-7/+45
|\ | | | | Allow to set cert/key pair
| * Fixed documentation stringValerii Hiora2014-09-171-1/+1
| |
| * Allow to set cert/key pairValerii Hiora2014-09-172-7/+45
| |
* | Update for rust rfc 52 changesMichael Gehring2014-09-173-6/+6
| |
* | Switch to the more sane RSA PUBKEY functionMathijs van de Nes2014-09-121-4/+4
| | | | | | | | | | | | | | For differences, see: http://openssl.6102.n7.nabble.com/difference-between-i2d-PUBKEY-and-i2d-PublicKey-td43869.html This will break loading of *public* keys generated before this commit
* | Switch PKey load/save functions to RSA specificMathijs van de Nes2014-09-121-15/+17
|/
* Remove failing constructor wrappersSteven Fackler2014-09-052-45/+28
|
* Merge pull request #39 from andrew-d/andrew-support-tls-sniSteven Fackler2014-09-052-10/+44
|\ | | | | 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-042-0/+29
| |
* | Merge pull request #38 from andrew-d/andrew-get-compressionSteven Fackler2014-09-042-0/+20
|\ \ | | | | | | Allow getting the compression used in a connection
| * | Allow getting the compression used in a connectionAndrew Dunham2014-09-042-0/+20
| |/
* | Merge pull request #37 from andrew-d/andrew-fix-lintsSteven Fackler2014-09-043-2/+3
|\ \ | | | | | | Fix lints for non snake-case functions