Commit Graph

3 Commits (ebd96637525571c32b3369a5cf5bbd559546c299)

Author SHA1 Message Date
Aydin Mercan ebd9663752
bearssl-sys: break-up `build.rs`
The `build.rs` is destined to get more cluttered as the autodetection
gets more optimial and Windows/non-amd64 arches are handled better.
2022-10-06 20:20:12 +03:00
Aydin Mercan 70495f7fdc
bearssl(-sys): update msrv to 1.64
* `core::ffi` types are stable and thus libc isn't used where
`sizeof uintptr_t == sizeof size_t`
2022-09-25 14:00:57 +03:00
Aydin Mercan 14d4569001
engine/tls: basic start and replace sslio
* I believe working around `br_sslio_*` isn't worth the effort as the
  same functionality can be done manually with `*_buf` + `*_ack` which
  is used by sslio internally. This will especially be useful when
  wrapping Write/Read traits in std.

* Since both server and client contextes use `br_ssl_engine_context`,
  writing the routines for it removes a lot of future headaches. The
  engines shouldn't be used directly but will be exposed anyway for
  special cases and for having more discoverable errors.
2022-09-06 22:22:05 +03:00