Commit Graph

2858 Commits

Author SHA1 Message Date
Steven Fackler f401ba2ec1 Run clippy 2020-05-24 16:31:04 -07:00
Steven Fackler 406031991f Run rustfmt on github actions 2020-05-24 10:39:01 -07:00
Steven Fackler 72048765c7 Release openssl-sys v0.9.57 2020-05-24 06:34:34 -07:00
Steven Fackler 41ab7f37a5
Merge pull request #1270 from hargoniX/master
Add support for AES-OCB mode
2020-05-09 16:08:39 -04:00
Henrik Böving 33f06b767f remove any from openssl110 cfgs 2020-05-09 21:26:44 +02:00
Steven Fackler 95c0866c1d
Merge pull request #1271 from vishwin/master
Support LibreSSL 3.1.x
2020-05-09 14:18:52 -04:00
Charlie Li 54fbab73b7 LibreSSL 3.1 branch marked as stable; add support 2020-05-08 21:21:51 -04:00
Henrik Böving f34e9b993d ocb is only available in openssl 1.1 and later 2020-05-09 01:02:34 +02:00
Henrik Böving 963e3994a5 Add support for AES-OCB mode 2020-05-08 23:16:13 +02:00
Steven Fackler d2aefe7afc Release openssl-sys v0.9.56 2020-05-07 16:20:20 -07:00
Steven Fackler fa6df83fd3
Merge pull request #1265 from omnioiot/windows-gnu-build-simpler
Fix static build on windows-gnu targets
2020-05-07 19:17:45 -04:00
Thomas Jespersen dd8e53cb0d Fix static build on windows-gnu targets
Static builds for *-pc-windows-gnu targets broke, because the linker
would look for the incorrect libraries. OpenSSL builds produce
libssl.dll rather than ssl.dll which makes the linker unhappy with the
normal -lssl -lcrypto [1].

A workaround could be used:

    export OPENSSL_LIBS="ssl:crypto"

but it's arguably better to have the openssl-sys crate do the right
thing.

[1] http://www.mingw.org/wiki/specify_the_libraries_for_the_linker_to_use
2020-05-02 12:32:31 +02:00
Steven Fackler e446d819e3 Bump ci versions 2020-04-28 14:15:49 -07:00
Steven Fackler 03701506f1
Merge pull request #1260 from sfackler/libre-31
Support LibreSSL 3.1.0
2020-04-19 07:34:06 -04:00
Steven Fackler 622b570f5b Support LibreSSL 3.1.0 2020-04-19 04:20:23 -07:00
Steven Fackler 18305645d5
Merge pull request #1258 from fanatid/ssl-peer-finished
Fix function name in peer_finished documentation
2020-04-12 10:07:04 -04:00
Kirill Fomichev 5d7d83e869
Fix function name in peer_finished documentation 2020-04-12 16:20:13 +03:00
Steven Fackler d47dc792ce Release openssl v0.10.29 2020-04-07 18:00:49 -07:00
Steven Fackler adde92879f Release openssl-sys v0.9.55 2020-04-07 17:54:36 -07:00
Steven Fackler 847eeb16cb
Merge pull request #1257 from sfackler/set-cert-store
Add SslContextBuilder::set_cert_store
2020-04-07 20:47:25 -04:00
Steven Fackler 1ed175f85f FIx build 2020-04-07 17:39:56 -07:00
Steven Fackler df03bbf5b8 Deal with upstream archive location change 2020-04-07 17:27:42 -07:00
Steven Fackler 40e66bab6b Add SslContextBuilder::set_cert_store 2020-04-07 17:05:38 -07:00
Steven Fackler b027f16031
Merge pull request #1253 from coolreader18/no-vendor-env-var
Check for the OPENSSL_NO_VENDOR environment variable
2020-04-05 10:01:28 -04:00
Steven Fackler 9c8e7cdd23 Bump CI version 2020-04-05 07:01:16 -07:00
Steven Fackler 517fc81d40
Update openssl/src/lib.rs 2020-04-05 09:52:20 -04:00
Noah d6772960a3
Add documentation for OPENSSL_NO_VENDOR 2020-04-04 21:18:20 -05:00
Noah 830658ec0b
Add OPENSSL_NO_VENDOR env var check 2020-04-04 21:15:27 -05:00
Steven Fackler 2cbc436b8b
Merge pull request #1248 from coolreader18/ssl-functions
Add functions for SSL{_CTX}_get_verify_mode and SSL_is_init_finished
2020-03-26 20:52:42 -04:00
Steven Fackler ef369f827e
Merge pull request #1249 from coolreader18/more-ssl-method
Add SslMethod::tls_{client,server}
2020-03-25 20:57:23 -04:00
Noah 354a984a7c
Add SslMethod::tls_{client,server} 2020-03-24 21:56:04 -05:00
Steven Fackler e450f3fee0
Update openssl/src/ssl/mod.rs 2020-03-24 19:27:04 -04:00
Steven Fackler 7c4986aae2
Merge pull request #1247 from coolreader18/x509-store-certs
Add a way to get the certificates stored in an X509Store
2020-03-24 19:26:31 -04:00
Noah f572a8306b
Add man page links 2020-03-24 17:01:14 -05:00
Steven Fackler 29f62786ff
Update openssl/src/x509/store.rs 2020-03-24 17:20:54 -04:00
Noah 1e9cc8426e
Add functions for SSL{_CTX}_get_verify_mode and SSL_is_init_finished 2020-03-24 15:32:39 -05:00
Noah 41162e27ab
Add a shim for X509_STORE_get0_objects and X509_OBJECT_free 2020-03-24 12:33:54 -05:00
Noah 5c6179ce07
Only have constants on < ossl110 2020-03-23 17:04:31 -05:00
Noah 59bff6de85
Skip X509_OBJECT_data systests 2020-03-23 17:04:30 -05:00
Noah 0769ca54fd
Add x509_vfy.h header to systest 2020-03-23 10:23:28 -05:00
Noah e268a5ac7e
Check null ptr for non-x509 X509Object 2020-03-23 10:20:30 -05:00
Noah dfb3cb9579
Fix signedness issue 2020-03-23 10:17:02 -05:00
Noah 8cfb59b9ea
Add a way to get the certificates stored in an X509Store 2020-03-22 23:20:59 -05:00
Steven Fackler dbc5459d63
Merge pull request #1246 from mneumann/fix-build-on-dragonflybsd
Fix build on DragonFly
2020-03-21 10:30:06 -04:00
Michael Neumann 6254c1881b Fix build on DragonFly
DragonFly has libressl/openssl in ports (/usr/local). With this commit,
rust-openssl builds out of the box given that either libressl or openssl is
installed (which is usually the case).

Tested on DragonFly 5.9-DEVELOPMENT with libressl-3.0.2.
2020-03-21 12:46:59 +01:00
Steven Fackler 1994a523dc Upgrade CI versions 2020-03-19 16:13:17 -07:00
Steven Fackler 614e739ef0
Merge pull request #1241 from adrian-budau/master
Fix the memory leak in `X509Builder::append_extension`.
2020-02-26 10:13:16 -05:00
Adrian Budau e7d0e69c74
Fix the memory leak in `X509Builder::append_extension`.
Also add an alternative method that takes a `X509ExtensionRef`.
2020-02-26 16:23:46 +02:00
Steven Fackler 99d63acb33
Merge pull request #1238 from mcgoo/master
use library names supplied by vcpkg
2020-02-26 07:14:28 -05:00
Jim McGrath 03b8b29e4c use library names supplied by vcpkg 2020-02-26 00:04:16 -06:00