Commit Graph

3443 Commits

Author SHA1 Message Date
Samuel Fredrickson dfdd4c0e4f Change to use updated Mutex API in latest Rust master. 2014-12-30 16:39:49 -08:00
Steven Fackler 651a1eab0b Release v0.2.9 2014-12-29 14:44:48 -08:00
Steven Fackler 078614157a Merge pull request #132 from jmesmon/fix-opt-in-sync
ssl: use std::ptr::Unique to fix for opt-in Sync
2014-12-29 17:37:14 -05:00
Cody P Schafer 066c54a34c ssl: use std::ptr::Unique to fix for opt-in Sync
Modifies Ssl & SslContext.

This removes the errors like:

	src/ssl/tests.rs:202:14: 202:27 error: the trait `core::kinds::Send` is not implemented for the type `*mut libc::types::common::c95::c_void`
	src/ssl/tests.rs:202     let _t = Thread::spawn(move || {
                                          ^~~~~~~~~~~~~
	src/ssl/tests.rs:202:14: 202:27 note: the type `*mut libc::types::common::c95::c_void` must implement `core::kinds::Send` because it appears within the type `ssl::Ssl`

We may want some locking around calls that do multiple operations on
the underlying Ssl and SslContext objects, but this lets us preserve
functionality for now.
2014-12-29 16:41:11 -05:00
Chris Cole fa32bc950b Added Copy impl. 2014-12-23 15:50:29 -05:00
Chris Cole 156fc65eb0 Merge remote-tracking branch 'upstream/master'
Conflicts:
	openssl-sys/src/lib.rs
2014-12-23 15:14:27 -05:00
Steven Fackler 49a72ae921 Release v0.2.8 2014-12-23 11:58:05 -05:00
Steven Fackler b136cf6c90 Merge pull request #130 from alexcrichton/update
Update to rust master
2014-12-23 08:56:20 -08:00
Alex Crichton 7774e672a2 Update to rust master 2014-12-23 08:14:42 -08:00
Steven Fackler 12d31ade9d Release v0.2.7 2014-12-21 13:36:35 -05:00
Steven Fackler 5af17a6cc8 Merge pull request #128 from aatxe/master
Fix openssl-sys.
2014-12-21 10:33:24 -08:00
Aaron Weiss e2fa62e2ae Replaced now removed NativeMutex with StaticMutex, and fixed Neg
implementation for BigNum.
2014-12-21 08:52:12 -05:00
Steven Fackler 217dad59df Print unexpected error codes
This is breaking occaisionally but I can't repro it locally :(
2014-12-19 19:56:31 -08:00
Steven Fackler 1392970360 Release v0.2.6 2014-12-19 08:22:08 -08:00
Steven Fackler 3329793492 Merge pull request #126 from aatxe/master
Updated for language changes to macros.
2014-12-19 11:20:21 -05:00
Aaron Weiss a637f2b0bf Updated for language changes to macros. 2014-12-19 10:45:19 -05:00
Steven Fackler 88b753d3fe Merge pull request #119 from glennw/android-static-linking
Use static linking on android, which simplifies deployment since loading...
2014-12-16 19:08:44 -05:00
Steven Fackler ada2398b75 Release v0.2.5 2014-12-16 08:58:07 -08:00
Steven Fackler 8ee8b57486 Merge pull request #125 from alexcrichton/update
Update to rust master
2014-12-16 11:53:54 -05:00
Alex Crichton 01a5d7cc56 Update to rust master 2014-12-16 08:14:50 -08:00
Steven Fackler f299e336d0 Merge pull request #115 from brunoqc/patch-1
Add rustlib 64-bit path in README
2014-12-15 16:20:09 -05:00
Steven Fackler 1dc66d9486 Release v0.2.4 2014-12-15 09:26:34 -08:00
Steven Fackler a2341541d6 Merge pull request #122 from vhbit/proc_removal
Track master: proc removal, tuple indexing
2014-12-15 12:25:20 -05:00
Valerii Hiora 6119d916cb Track master: proc removal, tuple indexing 2014-12-15 14:01:17 +02:00
Chris Cole 38682821ad Added BigNum::{from_dec_str,from_hex_str}, BN_dec2bn, and BN_hex2bn. 2014-12-14 10:02:18 -05:00
Steven Fackler 9754b8e47d Release v0.2.3 2014-12-11 20:11:24 -08:00
Glenn Watson 4d49abd102 Use static linking on android, which simplifies deployment since loading application specific shared libraries on android requires Java code or other hacks. 2014-12-12 08:05:42 +10:00
Steven Fackler c1e225563d Clean up Copy impls a bit 2014-12-11 09:04:27 -08:00
Steven Fackler f22cdfb594 Merge pull request #118 from vhbit/oibit-fix
Update to nightly: explicit Copy trait
2014-12-11 11:53:25 -05:00
Chris Cole 7a4fbc1567 Added BigNum::one(). 2014-12-11 11:04:29 -05:00
Valerii Hiora c922090075 Update to nightly: explicit Copy trait 2014-12-11 13:44:37 +02:00
Chris Cole f0de773888 Use "ffi" namespace. 2014-12-10 22:11:29 -05:00
Chris Cole fb1c815274 Merge remote-tracking branch 'upstream/master' 2014-12-10 22:09:20 -05:00
Chris Cole 33f3c966ac Added mod_word. 2014-12-10 22:08:32 -05:00
Steven Fackler ae9e2b1e25 Merge pull request #117 from Ummon/master
Add the openssl function prototype 'HMAC_CTX_cleanup'.
2014-12-10 13:37:03 -08:00
Ummon 6d2f8d67f2 Add the openssl function prototype 'HMAC_CTX_cleanup'. 2014-12-10 22:25:32 +01:00
Bruno Bigras 8c255d6dc4 Add rustlib 64-bit path in README 2014-12-10 10:07:11 -05:00
Steven Fackler 7f9658248f Merge pull request #114 from DiamondLovesYou/master
Don't forget to bump the openssl-sys dep version!
2014-12-10 01:14:40 -05:00
Richard Diamond 93c6c867e0 Don't forget to bump the openssl-sys dep version! 2014-12-10 00:04:21 -06:00
Steven Fackler 6d6ef3e747 Merge pull request #113 from DiamondLovesYou/nacl-crosses
Now that pkg-config 0.1.1 has been published, delegate bailout detection to pkg-config.
2014-12-10 00:23:10 -05:00
Richard Diamond 10e8a8f8e3 Now that pkg-config 0.1.1 has been published, delegate to bailout detection to pkg-config.
Also bump version minors for publishing. :)
2014-12-09 23:15:04 -06:00
Steven Fackler 43c9a43e2d Merge pull request #108 from DiamondLovesYou/nacl-crosses
Use locally built libreSSL if targeting NaCl instead of the host's versions.
2014-12-09 02:13:09 -05:00
Richard Diamond 0dff5268de Add a feature to openssl-sys to cause it to build a local copy of libressl for
use instead of whatever pkg-config says (which in the case of crosses, is almost
certainly incorrect). This is for PNaCl.
2014-12-09 00:04:06 -06:00
Steven Fackler 6cdd2cf577 Speed up SslStream initialization a bit 2014-12-06 11:17:46 -08:00
Steven Fackler b8a41f79a1 Merge pull request #110 from Manishearth/patch-1
Directly substitute $OPENSSL_PATH
2014-12-05 10:50:40 -05:00
Manish Goregaokar 31d188e313 Directly substitute $OPENSSL_PATH 2014-12-05 06:43:18 -08:00
Steven Fackler b91a267082 Merge pull request #109 from Manishearth/android
Allow passing in Android paths
2014-12-03 12:57:49 -08:00
Manish Goregaokar 82db54c822 Allow passing in Android paths 2014-12-03 12:49:53 -08:00
Steven Fackler 2901c279ab Fix doc test and stop doc upload 2014-12-03 09:18:53 -08:00
Steven Fackler fd680e8a33 Release v0.2.2 2014-12-01 13:23:43 -08:00