Jessica Hamilton
6bc0e4019b
Allow overriding lib/include dirs when cross-compiling.
2017-09-06 15:29:09 -05:00
Steven Fackler
c800ab922e
Fix build note for MinGW
...
Closes #689
2017-09-04 09:28:20 -06:00
Steven Fackler
ca40c2e6a3
Symlink README in place
...
Allows crates.io to render it properly
2017-08-21 04:00:25 -07:00
Bradley Beddoes
f599df124b
Add ability to get affine coordinates from EcPoint
...
The initial usecase here is creating JWK representations as defined
within RFC 7517 from an EcKey created via a PEM source.
2017-08-21 15:08:48 +10:00
Steven Fackler
9143516037
Add SHA384 and SHA512
2017-08-16 21:03:46 -07:00
Steven Fackler
673bcfaf5a
Add SHA1 an SHA224 hashers
2017-08-16 20:26:16 -07:00
Steven Fackler
c175ac639d
Release v0.9.17
2017-08-14 17:13:36 -07:00
Steven Fackler
1d92ff290e
Add a stateful SHA256 hasher
2017-08-14 17:07:44 -07:00
Steven Fackler
75d927b2bd
Merge pull request #622 from mcgoo/vcpkg
...
try to find openssl libraries in a vcpkg ports tree
2017-08-11 22:44:46 -07:00
Steven Fackler
ea6edb133e
Release v0.9.16
2017-08-10 22:17:50 -07:00
Steven Fackler
78e37bb2e1
Fully wrap feature checks
...
Otherwise OPENSSL_NO_EC2M would also trigger OPENSSL_NO_EC
2017-08-10 20:52:31 -07:00
Steven Fackler
4c3b3476f4
Merge pull request #675 from sdemos/master
...
added cms decryption
2017-08-09 14:20:51 -07:00
Stephen Demos
caf7b8ecbc
added cms decryption
2017-08-09 12:26:45 -07:00
Bradley Beddoes
16e8fbc31e
Fix EC_KEY_set_public_key_affine_coordinates
...
Previous definition incorrectly used `const` pointers but the
underpinning library definition (unfortunately) does not.
2017-08-09 13:34:08 +10:00
Bradley Beddoes
cfb4ea31d5
Support for EcKey creation from affine coordinates
...
Sets the public key for an EcKey based on its affine co-ordinates,
i.e. it constructs an EC_POINT object based on the supplied x and y
values and sets the public key to be this EC_POINT.
The initial usecase here is creating EcKey instances from JWK
representations as defined within RFC 7517.
2017-08-09 12:21:54 +10:00
Steven Fackler
c2164a4864
Add peer_cert_chain
2017-07-29 10:34:10 -07:00
Steven Fackler
01927c19ac
Initialize OpenSSL in DSA constructor
...
This fixes the double unlock errors that were popping up on circle
2017-07-25 21:59:52 -07:00
Steven Fackler
a02f039c0c
Fix build
2017-07-25 20:41:11 -07:00
Steven Fackler
82b1a12f35
Abort on bad unlock and safe core dumps
2017-07-25 20:35:29 -07:00
Steven Fackler
bf6dc28f0c
Release v0.9.15
2017-07-19 19:35:28 -07:00
Steven Fackler
43cacf00f5
Forbid LibreSSL 2.5.6+
2017-07-19 19:30:13 -07:00
Inokentiy Babushkin
453e641aa6
Support for LibreSSL 2.5.5
2017-07-17 20:29:35 +02:00
Steven Fackler
5e0146b10a
Test against libressl 2.6.0
2017-07-16 14:51:43 -07:00
Steven Fackler
bcd0dcafcb
Rustfmt
2017-07-15 21:46:11 -07:00
Steven Fackler
9290ed97c2
Merge pull request #657 from sfackler/rsa-pkcs1
...
Support PKCS#1 RSA public keys
2017-07-06 14:11:27 -10:00
Steven Fackler
88e277d49e
Inform cargo about which env vars we care about
2017-07-04 21:24:59 -07:00
Steven Fackler
279bffccf5
Merge pull request #641 from luser/psk
...
Expose PSK via a SslContextBuilder::set_psk_callback method
2017-07-04 18:19:17 -10:00
Steven Fackler
51a226eb4b
Support PKCS#1 RSA public keys
...
Closes #656
2017-07-04 20:57:00 -07:00
Laurence Tratt
aa5547cdab
Enable build on LibreSSL 5.6.0 development branch.
...
Without this, openssl-sys can't compile on OpenBSD-current. As far as I can
tell, the only differences with respect to LibreSSL 5.5.4 are additional exposed
functions: there do not appear to be any breaking changes. Certainly all the
test suites in the repository succeed with this commit.
2017-06-25 14:42:39 +01:00
Steven Fackler
575e682da3
Add PKey::private_key_from_der
2017-06-23 21:04:13 -07:00
Steven Fackler
223e8e3689
Release v0.9.14
2017-06-14 19:59:45 -07:00
Jim McGrath
6b50d8940d
for msvc abi builds, allow use of openssl libs from vcpkg
2017-06-07 09:56:06 -05:00
Jim McGrath
9ba96b80b1
remove unused dependencies on windows
2017-06-06 20:56:16 -05:00
Steven Fackler
98d343dd32
Fix for changes in OpenSSL 1.1.0f
2017-06-06 18:45:54 -04:00
Ted Mielczarek
4de58596d9
Make some changes for review comments
2017-06-02 08:20:03 -04:00
Steven Fackler
cba475b9ae
Release v0.9.13
2017-05-29 17:46:07 -07:00
Ted Mielczarek
16183f41f6
Expose PSK via a SslContextBuilder::set_psk_callback method
2017-05-26 14:51:04 -04:00
Steven Fackler
61c9ffddb6
Explicitly initialize OpenSSL 1.1.0
2017-05-20 16:01:53 -07:00
Steven Fackler
7d587e2c93
Rustfmt
2017-05-20 15:53:45 -07:00
Steven Fackler
4336d1d38c
Release v0.9.12
2017-05-12 11:47:46 -07:00
Steven Fackler
f2ecdbe709
Fix support for LibreSSL versions other than 2.5.0
2017-05-12 11:16:25 -07:00
Steven Fackler
67b5fd1c97
Support public key decode from DER
...
Closes #629
2017-05-06 16:40:33 -07:00
Steven Fackler
7e8a0a0dad
Expose the lower level SHA functions
...
These don't allocate so they're both infallible and significantly
faster.
2017-04-14 23:03:17 -07:00
Steven Fackler
429f7c869e
Release v0.9.11
2017-04-14 16:56:21 -07:00
Andrew Roetker
b21046375a
(issues-600) Avoid compiling ec2m code against no-ec2m openssl
...
This commit avoids defining code that leads to undefined references when
compiling against an openssl built with no-ec2m.
2017-04-11 15:42:05 -07:00
Andrew Osmond
e6a6ebb87d
Add new EC/PKEY methods to permit deriving shared secrets.
2017-04-10 15:40:36 -04:00
Jay Lee
7c24224394
show help message when pkg-config is missing
2017-03-29 19:25:00 +08:00
Steven Fackler
42ad50ae67
Release v0.9.10
2017-03-26 10:49:04 -07:00
Steven Fackler
c8d1698f27
Logic to support client-side session reuse
2017-03-25 19:30:01 -07:00
Peter Gerber
f82f650953
Panic if lock managed by `locking_function` is doubly unlocked
...
Trying to unlock an unlocked lock is always an error and should
be treated as such.
This is related to #597 .
2017-03-16 22:14:58 +00:00