aboutsummaryrefslogtreecommitdiff
path: root/openssl
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Make error handling more reliableSteven Fackler2015-12-101-5/+16
| | |
* | | Replace SslStream implementation!Steven Fackler2015-12-095-532/+139
| | |
* | | Implement read and writeSteven Fackler2015-12-092-96/+142
| | |
* | | IT LIVESSteven Fackler2015-12-093-15/+144
| | |
* | | Custom BIO infrastructureSteven Fackler2015-12-082-0/+142
| | |
* | | Bump openssl version for travisSteven Fackler2015-12-071-1/+1
| |/ |/|
* | Cast correctly c_char raw pointers (fixes build on ARM #314)Ondrej Perutka2015-11-304-19/+22
| |
* | Release v0.7.1Steven Fackler2015-11-282-5/+5
|/
* Implement try_clone for MaybeSslStreamSteven Fackler2015-11-201-0/+10
| | | | Closes #308
* Fixed a typo in a comment.Alex Gaynor2015-11-191-1/+1
|
* Fix a leak when using `EVP_PKEY_get1_RSA`.Overmind JIANG2015-11-181-0/+1
| | | | | | `EVP_PKEY_get1_RSA` returns a RSA structure with its reference count increased by 1 and therefore we need to call `RSA_free` after finishing using that value.
* Release v0.7.0Steven Fackler2015-11-162-5/+5
|
* Remove deprecated X509 methodsSteven Fackler2015-11-161-37/+4
|
* Move HMAC_CTX_copy to sys-extrasSteven Fackler2015-11-161-1/+1
|
* Split stuff requiring a shim out to a separate crateSteven Fackler2015-11-166-63/+67
|
* Bump ws2_32-sys versionSteven Fackler2015-11-161-1/+1
|
* Switch to libc 0.2Steven Fackler2015-11-162-30/+17
|
* Move SSL methods to Ssl object, add getterSteven Fackler2015-11-162-124/+66
|
* Fix feature gated sslv3Steven Fackler2015-11-161-0/+1
|
* Revert "Revert "Merge pull request #280 from ltratt/libressl_build""Steven Fackler2015-11-162-4/+3
| | | | This reverts commit ae3d0e36d71bb121c2fc1a75b3bc6d97f0e61480.
* Revert "Use AsRef for backwards compatibility with passing IV as Vec"Steven Fackler2015-11-161-5/+4
| | | | This reverts commit d2d20a83778b7c363322997332bf1ff5deef92d5.
* Merge pull request #300 from thommay/pkey_private_encryptSteven Fackler2015-11-161-12/+115
|\ | | | | Provide public_decrypt, private_encrypt for PKEY
| * Provide public_decrypt, private_encrypt for PKEYThom May2015-10-281-12/+115
| |
* | Travis without sudoSteven Fackler2015-11-081-3/+2
|/
* Better debug implsSteven Fackler2015-10-261-3/+7
|
* Get nonblocking tests working on OSX/WindowsAlex Crichton2015-10-223-122/+190
|
* Nonblocking streams support.Jamie Turner2015-10-204-2/+406
|
* Release v0.6.7Steven Fackler2015-10-142-4/+4
|
* Revert "Merge pull request #280 from ltratt/libressl_build"Steven Fackler2015-10-142-3/+4
| | | | | This reverts commit aad933e5077b2c73e1f05d7314e442531a562bcf, reversing changes made to 60ee731408facdc8e3dfc000fdee2f1291fad664.
* Merge pull request #286 from jedisct1/use_certificate_chainSteven Fackler2015-10-131-0/+10
|\ | | | | Add set_certificate_chain_file()
| * Add set_certificate_chain_file()Frank Denis2015-10-121-0/+10
| | | | | | | | | | | | | | | | SSL_CTX_use_certificate_chain_file() is preferred over SSL_CTX_use_certificate_file(). It allows the use of complete certificate chains instead of loading only the first certificate in a PEM file.
* | Merge pull request #284 from bheart/cfb-modeSteven Fackler2015-10-122-1/+80
|\ \ | |/ |/| AES CFB-mode feature
| * AES CFB{1,8,128} mode supportWill Tange2015-10-112-1/+80
| |
* | Merge pull request #280 from ltratt/libressl_buildSteven Fackler2015-10-102-4/+3
|\ \ | | | | | | Fix build on LibreSSL.
| * | Fix build on LibreSSL.Laurence Tratt2015-10-032-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | LibreSSL has deprecated SSLv3_method, so this commit makes that a compile-time feature. It also removes a test referencing SSL_OP_CISCO_ANYCONNECT, as the LibreSSL header says it is amongst "Obsolete flags kept for compatibility. No sane code should use them."
* | | Merge pull request #277 from nixpulvis/read_public_pemSteven Fackler2015-10-102-0/+35
|\ \ \ | |_|/ |/| | Add public key PEM read function.
| * | Add public key PEM read function.Nathan Lilienthal2015-10-012-0/+35
| | |
* | | Release v0.6.6Steven Fackler2015-10-052-4/+4
| |/ |/|
* | Update documentation about SSLv23John Downey2015-10-021-1/+2
|/ | | | | | | In OpenSSL world, the SSLv23 option is a poorly name method that will negotiate what version of TLS or SSL to use. It starts with the best version the library supports and then precedes to keep trying all the way down to SSL 2.0.
* Add an ecdh_auto descriptionFrank Denis2015-09-251-0/+4
|
* Add SSL::set_ecdh_auto()Frank Denis2015-09-252-0/+9
| | | | | This sets automatic curve selection and enables ECDH support. Requires LibreSSL or OpenSSL >= 1.0.2, so behind a feature gate.
* Enable testing on Windows via AppVeyorAlex Crichton2015-09-224-81/+165
| | | | | | | This abolishes the test.sh script which spawns a bunch of `openssl` instances to instead run/manage the binary in-process (providing more isolation to boot). The tests have been updated accordingly and the `connected_socket` dependency was also dropped in favor of `net2` as it the former doesn't work on Windows.
* Merge pull request #266 from jmesmon/alpnSteven Fackler2015-09-162-5/+51
|\ | | | | ssl/npn+alpn: adjust protocol selection to fail if no protocols match
| * ssl/alpn: test mismatch between protocols resulting in NoneCody P Schafer2015-09-161-0/+43
| |
| * ssl/npn+alpn: adjust protocol selection to fail if no protocols matchCody P Schafer2015-09-011-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current behavior causes a server written using rust-openssl to (if it cannot negotiate a protocol) fallback to the first protocol it has avaliable. This makes it impossible to detect protocol mismatches. This updates our selection to be more similar to how openssl's s_server behaves: non-matching protocols are not supplied with a fallback. Note that some setups may actually want a fallback protocol supplied via ALPN. To support those cases, we should consider adding a generic callback that allows protocol selection to be entirely controlled by the programmer. For the purposes of having a sane default, however, not supplying a default (and mimicing s_server's behavior) is the best choice.
| * openssl/ssl: fix some of the comment text where I missed replacing NPN with ALPNCody P Schafer2015-09-011-3/+3
| |
* | Merge pull request #261 from jedisct1/try_ssl_nullSteven Fackler2015-09-162-28/+7
|\ \ | | | | | | Use try_ssl_null!() when relevant
| * | Use try_ssl_null!() when relevantFrank Denis2015-09-132-28/+7
| | |
* | | Add DH::from_pem() to load DH parameters from a fileFrank Denis2015-09-132-1/+35
|/ /
* | Merge pull request #270 from mvdnes/crypto_segvSteven Fackler2015-09-111-7/+67
|\ \ | | | | | | Check if public/private RSA key is properly loaded