Commit Graph

2 Commits (70495f7fdc0671239fbcfc24882bb8cb764ff872)

Author SHA1 Message Date
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