Michael Gehring
da125b3a95
Fix deprecation warnings
2014-09-23 20:27:37 +02:00
Valerii Hiora
4c1edcf4c8
TLS 1_1, 1_2, Ssl 2 is enabled by features
2014-09-23 18:29:43 +03:00
Valerii Hiora
03871d368e
Enabling TLS1.2 support
...
Unfortunately OS X comes with 0.9.8 bundled. There is a way to
install a recent version through homebrew, however it is
extremely hard to make it link agains brewed version without
tricking link version
2014-09-23 17:49:08 +03:00
Valerii Hiora
f508b7f067
Get certificate fingerprint
2014-09-20 03:54:38 +03:00
Steven Fackler
efa1a719f5
Merge pull request #47 from vhbit/cert-key-auth
...
Allow to set cert/key pair
2014-09-19 15:32:55 -07:00
Valerii Hiora
fb2665961c
Fixed documentation string
2014-09-17 19:22:08 +03:00
Michael Gehring
6802216f79
Update for rust rfc 52 changes
2014-09-17 17:21:17 +02:00
Valerii Hiora
ece8957e2f
Allow to set cert/key pair
2014-09-17 09:41:10 +03:00
Mathijs van de Nes
7685a8349c
Switch to the more sane RSA PUBKEY function
...
For differences, see:
http://openssl.6102.n7.nabble.com/difference-between-i2d-PUBKEY-and-i2d-PublicKey-td43869.html
This will break loading of *public* keys generated before this commit
2014-09-12 15:36:00 +02:00
Mathijs van de Nes
759feedb04
Switch PKey load/save functions to RSA specific
2014-09-12 15:30:09 +02:00
Steven Fackler
e7e6ef5da2
Remove failing constructor wrappers
2014-09-05 21:52:44 -07:00
Steven Fackler
0a18409cdb
Merge pull request #39 from andrew-d/andrew-support-tls-sni
...
Allow setting hostname to support TLS-SNI
2014-09-05 10:39:45 -07:00
Andrew Dunham
b1346029e5
Make Ssl public, add new constructor to SslStream that takes an Ssl instance
2014-09-04 21:59:57 -07:00
Steven Fackler
4a823242ab
Merge pull request #38 from andrew-d/andrew-get-compression
...
Allow getting the compression used in a connection
2014-09-04 19:07:10 -07:00
Andrew Dunham
c4ede3d585
Allow getting the compression used in a connection
2014-09-04 19:02:05 -07:00
Steven Fackler
f7433cd25e
Merge pull request #37 from andrew-d/andrew-fix-lints
...
Fix lints for non snake-case functions
2014-09-04 18:59:38 -07:00
Andrew Dunham
fc79815faf
Allow setting hostname to support TLS-SNI
2014-09-04 18:21:43 -07:00
Andrew Dunham
1579173a10
Fix lints for non snake-case functions
2014-09-04 17:55:35 -07:00
Andrew Dunham
13b2027850
Derive things on SslMethod
2014-09-04 17:53:51 -07:00
Eunchong Yu
11c44d3b88
Fix the ambiguous integer literal error
...
This commit fixes this:
> src/crypto/symm.rs:95:25: 95:52 error: cannot determine a type for
> this expression: cannot determine the type of this integer; add a
> suffix to specify the type explicitly [E0101]
> src/crypto/symm.rs:95 let v = if padding { 1 } else { 0 } as c_int;
2014-08-27 15:40:09 +09:00
Michael Gehring
c4a275dc37
Add repr(C) to C structs
2014-08-22 17:16:16 +02:00
Israël Hallé
960718f900
Use BN_div instead of BN_mod
...
BN_mod is not available on all plateform and can be replaced by BN_div
with dv set as NULL.
2014-08-20 22:52:45 -04:00
Steven Fackler
39343df472
Derive thigs for error types
2014-08-10 13:06:21 -07:00
Jeremy Ruten
9f2a9c8524
Add new HashType RIPEMD160
2014-08-04 15:20:49 -06:00
Steven Fackler
203bdd076e
Shift directory structure
2014-08-03 19:16:09 -07:00
Steven Fackler
53e11b08f5
Prepare rustcrypto to merge into rust-openssl
2013-12-28 17:09:18 -07:00
Erick Tryzelaar
85e6d1db12
update to rust 0.9-pre (a5fa1d9)
2013-12-27 22:02:38 -05:00
Erick Tryzelaar
a9ce2a36d5
Switch over to rustpkg
2013-12-18 08:51:10 -08:00