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
Steven Fackler
c3603b0db0
Make SslStream Cloneable
...
Closes #6
2014-11-29 11:06:16 -08:00
Steven Fackler
ad109a25be
Release 0.2.1
2014-11-28 15:49:12 -08:00
Steven Fackler
72ca8433f5
Add MaybeSslStream
2014-11-28 15:43:58 -08:00
Steven Fackler
08d1f2e629
Drop execute bit on file
2014-11-28 14:04:33 -08:00
Steven Fackler
4bf953bc2b
Bump to 0.2
...
Also removed the PNaCl support. It hasn't worked anyway in a while since
the pnacl-libressl-sys library doesn't have any of the FFI bindings and
makes openssl's Cargo.toml a mess.
This is a minor version bump since Hasher's API changed
2014-11-27 21:35:39 -08:00
Steven Fackler
f1e37f477c
Fix windows dependencies
2014-11-27 21:25:19 -08:00
Steven Fackler
74171f6bd0
Add openssl-sys dependency on windows
2014-11-27 20:03:19 -08:00
Steven Fackler
4e379ec84a
Fix to pkg-config 0.1
2014-11-27 15:37:07 -08:00
Steven Fackler
5340344a5c
Merge pull request #99 from gkoz/context_reuse
...
Hasher: static contract checking, context reuse
2014-11-26 11:44:16 -08:00
Gleb Kozyrev
5fafe4fc60
Hasher: static contract checking, context reuse
...
- 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().
2014-11-26 21:38:06 +02:00
Steven Fackler
d1a733dfaa
Bump to 0.1.1
2014-11-26 08:49:50 -08:00
Steven Fackler
ccb134e320
Merge pull request #105 from andor44/master
...
Sync is now part of the standard library
2014-11-26 08:45:47 -08:00
Andor Uhlár
762331eb2b
Sync is now part of the standard library
2014-11-26 16:04:10 +01:00
Steven Fackler
525394d308
Bump to 0.1.0
2014-11-25 16:46:57 -08:00
Steven Fackler
a7a9ef7eaa
Allow access to the underlying stream
...
The use case here is to allow methods like `set_read_timeout` to be
called.
2014-11-25 16:44:42 -08:00
Steven Fackler
f71555e820
Fix deprecation warning
2014-11-24 13:09:16 -08:00
Steven Fackler
e87639893d
Merge pull request #104 from jmesmon/sys
...
Add get_peer_certificate() and a few ffi methods
2014-11-24 16:05:10 -05:00
Cody P Schafer
fd14cc77f3
ssl: add get_peer_certificate()
2014-11-24 15:48:08 -05:00
Cody P Schafer
c6696eb029
sys: add SSL_get_peer_certificate()
2014-11-24 15:40:48 -05:00
Cody P Schafer
9951cb2bda
sys: add some methods for dealing with x509 certs
2014-11-24 15:38:25 -05:00
Cody P Schafer
381a9b6e51
sys (and bn): make CRYPTO_free() take a *mut c_void insead of a *const c_char
...
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);
2014-11-24 15:38:04 -05:00
Steven Fackler
b7c88101f5
Add more crate metadata
2014-11-22 15:46:11 -08:00
Steven Fackler
178d0f0c8e
Update stuff for upload to registry
2014-11-22 14:57:13 -08:00
Steven Fackler
b084ddc7b0
Add license and description
2014-11-21 22:21:37 -08:00
Steven Fackler
efa7121243
Merge pull request #102 from vhbit/fix-neg-serials
...
Fix negative serials on generated certs
2014-11-21 09:08:24 -08:00
Valerii Hiora
e9e60fe3f3
Fix negative serials on generated certs
...
required for compatibility with Go crypto
2014-11-21 18:34:10 +02:00
Steven Fackler
8e9c34280d
Merge pull request #101 from vhbit/runtime-fallout
...
Runtime fallout
2014-11-21 11:17:19 -05:00
Valerii Hiora
0cc749d3fc
Runtime fallout
2014-11-21 11:57:48 +02:00
Steven Fackler
33af6a0b7a
Merge pull request #100 from gkoz/new_cert
...
Replace an expired cert with a new one to make tests happy
2014-11-20 10:10:17 -08:00
Gleb Kozyrev
ef9e0b00bd
Slice syntax fix
2014-11-20 19:53:42 +02:00
Gleb Kozyrev
50f11e533c
Replace an expired cert with a new one to make tests happy
2014-11-20 19:53:31 +02:00
Steven Fackler
3e98880fe8
Merge pull request #54 from jmesmon/server
...
Server Support
2014-11-19 15:48:42 -05:00
Steven Fackler
9996f5874e
Fix test build
2014-11-19 12:36:32 -08:00
Cody P Schafer
b9e3ed50ad
Baseline server support
...
Allows calling SSL_accept() instead of SSL_connect() when creating an
SslStream.
2014-11-19 15:23:31 -05:00
Steven Fackler
af5533d936
Remove Zero and One impls
2014-11-17 16:29:12 -08:00
Steven Fackler
c766f29965
Merge pull request #98 from jamesrhurst/namespaced-enums
...
Fixed compilation errors related to namedspaced enums
2014-11-17 19:23:33 -05:00
James Hurst
f02d8c22ec
Fixed compilation errors related to namedspaced enums
2014-11-17 19:16:51 -05:00
Steven Fackler
2569b39855
Impl Error for SslError
2014-11-16 22:21:45 -08:00