aboutsummaryrefslogtreecommitdiff
path: root/openssl-sys/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix builds against 0.9.x OpenSSLSteven Fackler2015-02-082-0/+57
| | | | Namely builds on OSX
* Move docs to this repo and auto buildSteven Fackler2015-02-071-0/+1
|
* Fix deprecation warnings in openssl-sysSteven Fackler2015-02-052-6/+6
|
* Move openssl-sys build.rsSteven Fackler2015-02-031-43/+0
|
* Merge pull request #153 from mbrubeck/androidSteven Fackler2015-02-031-5/+6
|\ | | | | Don't bail out of openssl-sys build config when targeting Android
| * Don't bail out when targeting AndroidMatt Brubeck2015-02-031-5/+6
| |
* | Declare the use of unstable libstd APIsGleb Kozyrev2015-02-012-2/+3
| |
* | Change Hasher and HMAC APIs closer to std::hash modelGleb Kozyrev2015-01-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | - Implement Clone and std::io::Writer. - Reduce the API to write() and finish(). Contrary to std::hash, finish() resets the hasher immediately. - Add hmac::hmac() convenience fn. - Replace hash::evpmd() with HashType methods. - Add assertions as a crude check for failed calls into openssl. - Add examples and some tests. [breaking-change]
* | Fix for IO changesSteven Fackler2015-01-281-1/+1
| |
* | Bring ffi definitions closer to the originalsGleb Kozyrev2015-01-211-17/+17
|/ | | | | Add missing return types and fix imprecise type translations. Repair the fallout in the openssl crate.
* Fix ffi: `BN_hex2bn` and `BN_dec2bn` shall take `*const c_char` as parameterAkos Kiss2015-01-121-2/+2
| | | | `c_char` is not `i8` on all platforms
* Update to rust masterAlex Crichton2015-01-092-6/+8
|
* Merge remote-tracking branch 'upstream/master'Chris Cole2015-01-031-3/+4
|\
| * Fix deprecation warningsSteven Fackler2015-01-031-3/+4
| |
* | Added BN_add_word, BN_sub_word, BN_mul_word, BN_div_word.Chris Cole2015-01-021-10/+7
| | | | | | | | Removed BIGNUM_PTR struct.
* | Merge remote-tracking branch 'upstream/master'Chris Cole2015-01-021-6/+6
|\|
| * Merge pull request #134 from DiamondLovesYou/masterSteven Fackler2015-01-021-1/+1
| |\ | | | | | | OpenSSL-sys: Cfg off target_os instead off feature.
| | * OpenSSL-sys: Cfg off target_os instead off feature.Richard Diamond2015-01-021-1/+1
| | | | | | | | | | | | It seems cargo doesn't provide --cfg entries for dep crates after all.
| * | Array syntax falloutValerii Hiora2015-01-021-1/+1
| |/
| * Change to use updated Mutex API in latest Rust master.Samuel Fredrickson2014-12-301-4/+4
| |
* | Added Copy impl.Chris Cole2014-12-231-0/+2
| |
* | Merge remote-tracking branch 'upstream/master'Chris Cole2014-12-232-9/+24
|\| | | | | | | | | Conflicts: openssl-sys/src/lib.rs
| * Replaced now removed NativeMutex with StaticMutex, and fixed NegAaron Weiss2014-12-211-6/+8
| | | | | | | | implementation for BigNum.
| * Use static linking on android, which simplifies deployment since loading ↵Glenn Watson2014-12-121-3/+8
| | | | | | | | application specific shared libraries on android requires Java code or other hacks.
| * Clean up Copy impls a bitSteven Fackler2014-12-111-4/+8
| |
| * Update to nightly: explicit Copy traitValerii Hiora2014-12-111-0/+4
| |
* | Added BigNum::{from_dec_str,from_hex_str}, BN_dec2bn, and BN_hex2bn.Chris Cole2014-12-141-1/+11
| |
* | Merge remote-tracking branch 'upstream/master'Chris Cole2014-12-102-0/+17
|\|
| * Add the openssl function prototype 'HMAC_CTX_cleanup'.Ummon2014-12-101-0/+1
| |
| * Merge pull request #113 from DiamondLovesYou/nacl-crossesSteven Fackler2014-12-101-1/+1
| |\ | | | | | | Now that pkg-config 0.1.1 has been published, delegate bailout detection to pkg-config.
| | * Now that pkg-config 0.1.1 has been published, delegate to bailout detection ↵Richard Diamond2014-12-091-1/+1
| | | | | | | | | | | | | | | | | | to pkg-config. Also bump version minors for publishing. :)
| * | Merge pull request #108 from DiamondLovesYou/nacl-crossesSteven Fackler2014-12-092-0/+8
| |\| | | | | | | Use locally built libreSSL if targeting NaCl instead of the host's versions.
| | * Add a feature to openssl-sys to cause it to build a local copy of libressl forRichard Diamond2014-12-092-0/+8
| | | | | | | | | | | | | | | use instead of whatever pkg-config says (which in the case of crosses, is almost certainly incorrect). This is for PNaCl.
| * | Directly substitute $OPENSSL_PATHManish Goregaokar2014-12-051-6/+4
| | |
| * | Allow passing in Android pathsManish Goregaokar2014-12-031-0/+10
| |/
* / Added mod_word.Chris Cole2014-12-101-0/+1
|/
* Drop execute bit on fileSteven Fackler2014-11-281-0/+0
|
* Hasher: static contract checking, context reuseGleb Kozyrev2014-11-261-0/+2
| | | | | | | | | | | | - Store EVP_MD_CTX in a separate struct. - Add with_context() constructor that uses an existing context. - Switch to EVP_Digest(Init|Final)_ex for efficient context reuse. - Make update() borrow &mut self. - Make finalize() consume self. Add finalize_reuse() that also returns the context which can be passed to from_context() constructor for reuse. These changes let the type system prevent illegal calls to update() and finalize().
* Sync is now part of the standard libraryAndor Uhlár2014-11-261-2/+1
|
* sys: add SSL_get_peer_certificate()Cody P Schafer2014-11-241-0/+1
|
* sys: add some methods for dealing with x509 certsCody P Schafer2014-11-241-0/+6
|
* sys (and bn): make CRYPTO_free() take a *mut c_void insead of a *const c_charCody P Schafer2014-11-241-1/+1
| | | | | | | | | CRYPTO_free() ends up being used for a variety of types of data, not just c_char. And it essentially takes full ownership of the type, making *mut appropriate. With this change it also more closely (exactly) matches the C defintion: void CRYPTO_free(void *ptr);
* Runtime falloutValerii Hiora2014-11-211-1/+2
|
* Baseline server supportCody P Schafer2014-11-191-0/+1
| | | | | Allows calling SSL_accept() instead of SSL_connect() when creating an SslStream.
* Move AES XTS support to a featureSteven Fackler2014-11-161-0/+2
|
* Add XTS-AES modeCorey Ford2014-11-141-0/+2
|
* New build systemValerii Hiora2014-11-133-0/+560