Commit Graph

1866 Commits

Author SHA1 Message Date
Steven Fackler fd52bbe85c Add an API to install extra data 2017-07-15 16:50:36 -07:00
Steven Fackler e3c7a2785c Move callbacks to a submodule 2017-07-15 16:50:36 -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
Steven Fackler 026ed1fa07 Merge pull request #655 from ltratt/master
Enable build on LibreSSL 5.6.0 development branch.
2017-06-25 11:06:03 -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 7427dd72a6 Merge pull request #654 from sfackler/pkey-private-key-from-der
Add PKey::private_key_from_der
2017-06-24 15:24:54 -07:00
Steven Fackler 575e682da3 Add PKey::private_key_from_der 2017-06-23 21:04:13 -07:00
Jim McGrath ecfc029c3e msvc/vcpkg dynamic builds now require explicit opt-in 2017-06-16 10:52:04 -05:00
Steven Fackler 223e8e3689 Release v0.9.14 2017-06-14 19:59:45 -07:00
Steven Fackler 240eb9731f Properly reexport ConnectConfiguration 2017-06-14 19:54:09 -07:00
Steven Fackler 6733ddf4de Merge pull request #648 from JuanPotato/patch-1
Fix documentation typo
2017-06-10 23:29:26 -04:00
Hasan d7135c88ac Fix documentation typo 2017-06-10 18:40:57 -04:00
Jim McGrath 6b50d8940d for msvc abi builds, allow use of openssl libs from vcpkg 2017-06-07 09:56:06 -05:00
Steven Fackler 478957c0f6 Merge pull request #647 from mcgoo/remove_unused_deps
remove unused dependencies on windows
2017-06-07 10:40:47 -04:00
Jim McGrath 9ba96b80b1 remove unused dependencies on windows 2017-06-06 20:56:16 -05:00
Steven Fackler 205aaeb320 Merge pull request #645 from sfackler/110f
Fix for changes in OpenSSL 1.1.0f
2017-06-06 19:43:26 -04:00
Steven Fackler 98d343dd32 Fix for changes in OpenSSL 1.1.0f 2017-06-06 18:45:54 -04:00
Steven Fackler 66d9a8ea52 Merge pull request #642 from oussama/patch-1
Add pkg-config to readme
2017-06-04 08:37:11 -07:00
Oussama Gammoudi 0f02a8b61d Add pkg-config
error: failed to run custom build command for `openssl-sys v0.9.13`
run pkg_config fail: "Failed to run `\"pkg-config\" \"--libs\" \"--cflags\" \"openssl\"`: No such file or directory (os error 2)"

Problem encountered on WSL (Ubuntu on windows).
Fixed by installing pkg-config
2017-06-03 16:21:50 +01:00
Ted Mielczarek 4de58596d9 Make some changes for review comments 2017-06-02 08:20:03 -04:00
Steven Fackler 3028958bf6 Little docs fix 2017-05-29 21:11:49 -07:00
Steven Fackler c89af1d5f8 Add a fixme 2017-05-29 18:04:32 -07:00
Steven Fackler cba475b9ae Release v0.9.13 2017-05-29 17:46:07 -07:00
Steven Fackler 224de2f258 Merge pull request #639 from golem131/dependency_update
Update bitflags 0.8 -> 0.9
2017-05-26 21:28:33 -07:00
Ted Mielczarek 16183f41f6 Expose PSK via a SslContextBuilder::set_psk_callback method 2017-05-26 14:51:04 -04:00
golem131 27728f6fd9 Update bitflags 0.8 -> 0.9 2017-05-22 12:44:22 +03:00
Steven Fackler 52e82faa47 Merge pull request #638 from sfackler/110-sync-fix
Explicitly initialize OpenSSL 1.1.0
2017-05-20 19:59:52 -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 6c152e96eb Merge pull request #636 from sfackler/libressl-fix
Fix LibreSSL versions other than 2.5.0
2017-05-12 11:46:01 -07:00
Steven Fackler d27cc18b90 Test LibreSSL 2.5.4 2017-05-12 11:16:25 -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 b01743e207 Merge pull request #635 from mcgoo/fix_cacert_pem_download
use appveyor DownloadFile to download cacert.pem
2017-05-12 09:56:06 -07:00
Jim McGrath 7dd78a67c9 use appveyor DownloadFile to download cacert.pem 2017-05-12 11:36:58 -05:00
Steven Fackler fd62d146ac Drop x86 macOS build
It's not supported by Homebrew anymore and it's not clear that anyone
really cares about that target at all.
2017-05-06 20:03:47 -07:00
Steven Fackler 1fa7397b88 Set LD_LIBRARY_PATH when using custom build 2017-05-06 18:50:44 -07:00
Steven Fackler 67b5fd1c97 Support public key decode from DER
Closes #629
2017-05-06 16:40:33 -07:00
Steven Fackler 0efef98848 Add a note to rename variant 2017-05-06 16:35:55 -07:00
Steven Fackler 78c82fa3ee Merge pull request #627 from jethrogb/patch-1
Clarify use of ssl::HandshakeError::Interrupted
2017-05-03 12:19:36 -07:00
jethrogb dd3896fdc5 Clarify use of ssl::HandshakeError::Interrupted 2017-05-03 12:03:18 -07:00
Steven Fackler 2fd7354c38 Merge pull request #618 from sfackler/sha
Expose the lower level SHA functions
2017-04-15 10:05:13 -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
Steven Fackler fd6a1f70bd Merge pull request #616 from sfackler/no-alloc
Don't force allocation for message digests
2017-04-13 19:37:11 -07:00
Steven Fackler 4cf9f6c4c0 Don't force allocation for message digests 2017-04-13 19:02:31 -07:00
Steven Fackler 174617340a Merge pull request #615 from ajroetker/issue-600/avoid_compiling_ec_code_against_no-ec2m_openssl
(issues-600) Avoid compiling ec code against no-ec2m openssl
2017-04-13 16:17:09 -07:00