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
Steven Fackler
c41baabac9
Fix travis features
2014-11-16 14:03:58 -08:00
Steven Fackler
5258ce6ece
Move AES XTS support to a feature
2014-11-16 14:01:24 -08:00
Steven Fackler
fa42ed9edc
Merge pull request #96 from coyotebush/xts
...
Add XTS-AES mode
2014-11-15 08:29:32 -08:00
Corey Ford
287d402042
Add XTS-AES mode
2014-11-14 12:22:34 -08:00
Steven Fackler
c56d8f071a
Merge pull request #95 from vhbit/custom-build
...
New build system
2014-11-13 21:40:09 -06:00
Valerii Hiora
b60d140d3d
New build system
2014-11-13 15:17:00 +02:00
Steven Fackler
1f1c30dd3a
Bump to 0.0.1
2014-11-11 00:30:50 -06:00
Steven Fackler
952fef7971
Merge pull request #89 from pyrho/aes-256-cbc-decrypt-test
...
Aes 256 cbc decrypt test
2014-11-10 12:20:00 -05:00
Steven Fackler
e746088693
Merge pull request #94 from DiamondLovesYou/master
...
PNaCl/NaCl targets support.
2014-11-10 12:19:00 -05:00
Richard Diamond
c2717cd98c
Force linkage of LibreSSL when targeting NaCl OSs.
2014-11-09 23:42:11 -06:00
Richard Diamond
019e47020a
Support PNaCl/NaCl.
2014-11-09 23:07:59 -06:00
Richard Diamond
f32940294d
Add overrideable platform ssl.
2014-11-08 23:15:19 -06:00
Steven Fackler
766ce4b778
Merge pull request #92 from jmesmon/hash-writier
...
crypto/hash: impl Writer for Hasher to allow use of Reader-Writer convenience functions
2014-11-07 14:24:23 -08:00