Joshua Nelson
57eac7dfc3
Ignore bindgen warnings until they're fixed upstream
...
We don't have any way of fixing these, and it's not feasible to switch away from bindgen.
Ignore the warnings for now.
2021-07-27 16:21:13 -04:00
Ivan Nikulin
9cb2e41e1f
Merge pull request #33 from nox/bump
...
Bump tokio-boring to 2.1.3
2021-04-16 12:11:25 +01:00
Anthony Ramine
72e347d041
Bump tokio-boring to 2.1.3
2021-04-16 13:06:27 +02:00
Ivan Nikulin
c8f13f23bd
Merge pull request #32 from nox/bump
...
Bump boring to 1.1.6
2021-04-16 12:01:25 +01:00
Anthony Ramine
77ef82c88d
Bump boring to 1.1.6
2021-04-16 13:00:09 +02:00
Ivan Nikulin
dbc4e70fcc
Merge pull request #30 from nox/client-version
...
Introduce ClientHello::client_version
2021-04-16 11:59:04 +01:00
Ivan Nikulin
61e69eb3e2
Merge pull request #31 from nox/unexpected-eof
...
Introduce HandshakeError::code
2021-04-16 11:57:48 +01:00
Anthony Ramine
4473d08df4
Introduce HandshakeError::code
2021-04-16 12:48:20 +02:00
Anthony Ramine
fbdcfc3dbc
Introduce ClientHello::client_version
2021-04-16 12:31:04 +02:00
Ivan Nikulin
90a195c9fe
Merge pull request #29 from nox/bump
...
Bump boring to 1.1.5
2021-04-13 15:12:11 +01:00
Anthony Ramine
c85bf0940e
Bump boring to 1.1.5
2021-04-13 16:05:40 +02:00
Ivan Nikulin
10e472f64a
Merge pull request #28 from nox/early-servername
...
Allow returning more stuff from the early callback
2021-04-13 12:21:26 +01:00
Anthony Ramine
d147f155a4
Allow retrieving the version string from early callback
2021-04-13 12:03:55 +02:00
Anthony Ramine
6baba64eec
Allow returning the server name from the early callback
2021-04-13 11:59:27 +02:00
Ivan Nikulin
c4e1966c16
Merge pull request #26 from nox/bump
...
Bump boring-sys to 1.1.1, tokio-boring to 2.1.2
2021-04-06 13:27:36 +01:00
Anthony Ramine
f4b8870404
Bump boring-sys to 1.1.1, tokio-boring to 2.1.2
2021-04-06 13:13:06 +02:00
Ivan Nikulin
3838b11fb7
Merge pull request #25 from nox/expose-io-error
...
Provide access to inner I/O error during handshake
2021-04-06 12:05:38 +01:00
Anthony Ramine
e13112e3ca
Allow uppercase acronyms
2021-04-06 11:44:47 +02:00
Anthony Ramine
dd04ec0ef4
Provide access to inner I/O error during handshake
2021-04-06 10:04:46 +02:00
Ivan Nikulin
00f54790fb
Bump boring to 1.1.4
2021-03-15 14:19:02 +00:00
Ivan Nikulin
9fd89aba60
Merge pull request #19 from nox/errors
...
Tweak yet again the boring error reporting
2021-03-15 14:15:26 +00:00
Anthony Ramine
4353e4f8f3
Use Display for ssl::Error in Display for ssl::HandshakeError
2021-03-15 13:32:23 +01:00
Anthony Ramine
56564c7cb6
Tweak yet again the boring error reporting
...
We also omit file and line in ErrorStack itself now too.
ErrorStack is the wrapped error type returned by
hyper_boring::HttpsConnector::call.
2021-03-15 11:26:09 +01:00
Ivan Nikulin
7f6bd732e4
Bump boring to 1.1.3
2021-03-11 21:28:57 +00:00
Ivan Nikulin
c11de09195
Merge pull request #18 from nox/rm-error-file-line
...
Remove file/line from Display for HandshakeError
2021-03-11 21:28:00 +00:00
Anthony Ramine
6f4ecb3d90
Remove file/line from Display for HandshakeError
2021-03-11 14:42:00 +01:00
Ivan Nikulin
ebab82eb5b
Bump boring to 1.1.2, tokio-boring 2.1.1
2021-03-09 17:47:01 +00:00
Ivan Nikulin
2667b0fdee
Merge pull request #17 from nox/handshake-error
...
Improve error printing
2021-03-09 17:43:44 +00:00
Anthony Ramine
8fc84f01e0
Add tokio_boring::HandshakeError::as_source_stream
2021-03-09 16:26:31 +01:00
Anthony Ramine
66cabd882c
Introduce MidHandshakeSslStream::into_parts
2021-03-09 16:26:30 +01:00
Anthony Ramine
51734088ef
Print handshake errors in a better way
...
We completely ignore the ErrorStack value if it is
an X509 verification failure.
2021-03-09 16:26:30 +01:00
Anthony Ramine
8274492b95
Separate errors in an error stack better
2021-03-05 16:24:11 +01:00
Ivan Nikulin
adb00bde17
Bump boring to 1.1.1
2021-03-01 12:54:56 +00:00
Ivan Nikulin
8b58d3b5aa
Merge pull request #16 from nox/OXY-262
...
Make Display for Error more readable
2021-03-01 11:32:24 +00:00
Anthony Ramine
be0b2605ff
Make Display for Error more readable
2021-03-01 12:09:04 +01:00
Ivan Nikulin
ed3279c4f1
Bump feature version on all packages instead.
2021-02-24 11:52:24 +00:00
Ivan Nikulin
3772a53bc0
Bump boring-sys to 1.0.5. Bump boring to 1.0.4
2021-02-24 11:06:01 +00:00
Ivan Nikulin
af25e9c9a0
Merge pull request #14 from except/bssl-specific-options
...
Enable various client features of bssl
2021-02-24 02:51:33 +00:00
Ivan Nikulin
3ecbd282a4
Merge pull request #13 from nox/oxy-221
...
Bind the select_cert hook and allow users to inspect extensions early
2021-02-23 12:46:09 +00:00
Anthony Ramine
86691d8d72
Introduce ExtensionType for the arg of get_extension
2021-02-22 14:23:26 +01:00
Anthony Ramine
f831b25bf1
Introduce ClientHello::get_extension
2021-02-22 14:20:50 +01:00
Hasan Gondal
ee94b2a01d
Add support for SSL_CTX_set1_curves
2021-02-20 23:58:25 +00:00
Hasan Gondal
6cfc713483
Enable various client features of bssl
2021-02-19 22:52:38 +00:00
Anthony Ramine
9c5c7e3db5
Introduce set_select_certificate_callback
2021-02-19 16:11:14 +01:00
Ivan Nikulin
8b6767094d
Merge pull request #11 from jedisct1/bindgen
...
Use bindgen to automatically generate boring-sys
2021-02-19 12:42:39 +00:00
Ivan Nikulin
d07f6e8639
Merge pull request #12 from cloudflare/tokio1
...
Sync upstream changes to support tokio 1.x
2021-02-18 17:19:20 +00:00
Ivan Nikulin
10488a85f3
Sync upstream changes to support tokio 1.x
...
Bump major versions of hyper-boring and tokio-boring.
2021-02-18 16:12:19 +00:00
Frank Denis
05c6a41270
Use bindgen to automatically generate boring-sys
...
This ensures that all the Rust functions, types and constants
always match the actual BoringSSL definitions.
It also removes quite a lot of manually maintained code, as well
as the need for systest.
The value for `SslOptions::ALL`, for example, was wrong. On current
BoringSSL versions, this is a no-op, and is set to `0`.
Clearing it does nothing. So, the `clear_ctx_options` test, that
passed by accident, was adjusted to use a different option.
The `libc` crate is not required, as we only use it for types that
are already defined in the standard library. It was removed from
`boring-sys`. The same can be done to other crates later.
2021-02-12 15:03:45 +01:00
Ivan Nikulin
0c9166dd74
Make new clippy happy
2021-02-11 19:35:11 +00:00
Ivan Nikulin
4b5ef5e182
Bump boring-sys to 1.0.4
2021-02-11 18:39:32 +00:00