aboutsummaryrefslogtreecommitdiff
path: root/openssl/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | Add ability to set session ID context on an SSL contextRico Huijbers2016-04-131-0/+14
|/ | | | | This is necessary to make authentication with client certificates work without session restarts.
* copy PKey using DER encode and decodeKevin King2016-04-101-4/+34
| | | | test that fields of cloned private and public keys can be accessed
* Release v0.7.9Steven Fackler2016-04-061-1/+1
|
* add EVP_PKEY_copy_parameters to FFIKevin King2016-04-062-11/+15
| | | | | | copy EVP_PKEY params in PKey::clone test that PKey::clone creates a copy
* Add safe wrapper BioMethod for ffi::BIO_METHODJoe Wilm2016-04-042-18/+29
| | | | | | Adds a wrapper for ffi::BIO_METHOD located at ssl::bio::BioMethod. This enables SslStream to be Send without doing an unsafe impl on the ffi struct.
* CleanupSteven Fackler2016-03-271-8/+3
|
* Update for nightly changesSteven Fackler2016-03-271-1/+1
|
* Cast correctly c_char raw pointers (fixes build on ARM #363)Leon Anavi2016-03-221-1/+1
| | | | | | | Fix error caused by mismatched types while building crate openssl for Raspberry Pi 2 and other ARM devices. Signed-off-by: Leon Anavi <[email protected]>
* Release v0.7.8Steven Fackler2016-03-181-1/+1
|
* Allow Rust to infer the type of the argument to SSL_CIPHER_description.Ms2ger2016-03-181-2/+2
| | | | | This allows the code to compile on Android, where an unsigned char is expected.
* Clean up BIO nameSteven Fackler2016-03-171-4/+1
|
* Simplify panic safety logic for new nightlySteven Fackler2016-03-171-44/+5
|
* Release v0.7.7Steven Fackler2016-03-171-1/+1
|
* Fix nightly warnings about zero-sized fn pointersAlex Crichton2016-03-111-2/+4
|
* Merge pull request #353 from bluejekyll/masterSteven Fackler2016-03-053-1/+79
|\ | | | | adding functionality to directly get and set RSA public key material
| * making from_raw() unsafeBenjamin Fry2016-03-051-1/+2
| |
| * added public key material to the constructorBenjamin Fry2016-02-283-22/+34
| |
| * review fixes, keep raw RSA initiallization privateBenjamin Fry2016-02-232-8/+9
| |
| * adding functionality to directly get and set RSA key materialBenjamin Fry2016-02-173-1/+65
| |
* | Make SSLCipher.bits() return a struct.Erik Johnston2016-02-291-10/+14
| |
* | Add SSL_get_versionErik Johnston2016-02-291-11/+42
| |
* | Add support for SSL_CIPHERErik Johnston2016-02-171-0/+52
| |
* | Release v0.7.6Steven Fackler2016-02-101-1/+1
| |
* | More deprecated function cleanupSteven Fackler2016-02-081-1/+1
| |
* | Stop using deprecated methodSteven Fackler2016-02-081-1/+2
|/
* Rename Nid uid/UID to prevent breakageJoe Wilm2016-02-022-3/+5
|
* Fix Nid::UID valueJoe Wilm2016-02-022-1/+19
| | | | | Nid::UID (userId) previously held the value of Nid::uid (uniqueIdentifier).
* Revert "Revert "impl Clone for PKey and X509 by using their 'references' ↵Steven Fackler2016-01-313-0/+36
| | | | member""
* Fix PKey RSA constructorsSteven Fackler2016-01-302-31/+62
| | | | | | | | `set1` functions bump the object's refcount so we were previously leaking the RSA object. Split the decode from PEM part out to a method on RSA and use that in the PKey constructors. Also make RSA a pointer and actually free it.
* Revert "impl Clone for PKey and X509 by using their 'references' member"Steven Fackler2016-01-283-36/+0
|
* Preserve X.509 extension insertion order.Jimmy Cuadra2016-01-282-6/+101
| | | | | | | Ensures that extensions that are order-dependent are inserted in the same order when calling out to OpenSSL during certificate signing. Fixes #327.
* Remove unwraps from rsa accessorsSteven Fackler2016-01-221-10/+11
|
* Merge pull request #330 from esclear/masterSteven Fackler2016-01-224-2/+61
|\ | | | | Add a interface to RSA structs
| * Fix up RSA integrationDaniel Albert2016-01-202-2/+2
| |
| * Merge branch 'master' of https://github.com/sfackler/rust-opensslDaniel Albert2016-01-207-15/+341
| |\
| * | Fix incorrect unsafe declarationDaniel Albert2016-01-121-10/+21
| | |
| * | Adhere to rust conventionsDaniel Albert2016-01-121-10/+6
| | |
| * | Make the BigNum generation from a native pointer unsafeDaniel Albert2016-01-091-8/+6
| | |
| * | Add public interface to access BigNums from RSA keysDaniel Albert2016-01-011-0/+39
| | |
| * | Implement the possibility to create BigNums from their ffi counterpartDaniel Albert2016-01-011-0/+14
| | |
| * | Add RSA structsDaniel Albert2016-01-012-2/+3
| | |
* | | Release v0.7.5Steven Fackler2016-01-221-1/+1
| | |
* | | Fix connect and accept error reportingSteven Fackler2016-01-221-20/+16
| |/ |/| | | | | | | We were previously trying to create an error twice so the second wouldn't be correct.
* | Merge pull request #334 from jmesmon/ssl-contextSteven Fackler2016-01-192-3/+41
|\ \ | | | | | | ssl: fix refcounting of SslContext when set_ssl_context is used
| * | openssl/ssl/context: test that we are refcounting correctlyCody P Schafer2016-01-181-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not a perfect test, on failure it _might_ exit with this output: Process didn't exit successfully: `/home/cody/g/rust-openssl/openssl/target/debug/openssl-8e712036e3aac4fe` (signal: 11) But unclear if we can do any better.
| * | ssl: fix refcounting of SslContext when set_ssl_context is usedCody P Schafer2016-01-181-3/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Additionally impl Clone for SslContext to both allow us to use it & allow external users to take advantage of SslContext's internal refcount. Maintain the existing signature for set_ssl_context(), but add inline comments recommending changing it. Fixes #333
* | | x509: impl Clone using references & CRYPTO_add()Cody P Schafer2016-01-192-0/+18
| | |
* | | crypto/pkey: impl Clone for PKey using openssl's ref countingCody P Schafer2016-01-192-0/+18
|/ /
* | Fix should_panic checkSteven Fackler2016-01-111-3/+3
| |
* | Add stream panic propagation behind a nightly feature gateSteven Fackler2016-01-114-12/+193
| |