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
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
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
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
Gabriela Alexandra Moldovan
12d6a27104
Fix clippy warning.
2021-01-08 16:53:20 +00:00
Ivan Nikulin
a6fbc0fed2
Bump version
2020-12-23 14:15:50 +00:00
Ivan Nikulin
f40ac2d1ed
Implement conversion of HandshakeError to the source stream
2020-12-23 12:25:30 +00:00
Gabriela Alexandra Moldovan
31ed6443b1
Fix boring repository links.
2020-11-14 00:03:43 +00:00
Ivan Nikulin
5afd10b577
Fix boring-sys linking. Bump version.
2020-11-12 13:03:41 +00:00
Ivan Nikulin
2b61e14211
Fix doc comment
2020-11-11 20:40:58 +00:00
Ivan Nikulin
fda73f4947
Fix docs
2020-11-11 20:32:53 +00:00
Ivan Nikulin
548771adb1
Add tokio-boring
2020-11-11 19:26:22 +00:00
Ivan Nikulin
ec45baa6d8
Revive CI
2020-11-11 19:01:29 +00:00
Ivan Nikulin
fc07d7dfbb
Fix doc comments
2020-11-11 18:08:14 +00:00
Ivan Nikulin
5cb8947d7e
Rename stuff
2020-11-11 17:47:30 +00:00