A reminder that rustls exists, and leverages the Rust compiler to make sure no memory safety issues exist in your TLS implementation:
https://github.com/rustls/rustls
Some thoughts on lessons learned from other projects/vulnerabilities:
https://github.com/rustls/rustls
Some thoughts on lessons learned from other projects/vulnerabilities:
The project has potential but isn't quite ready for prime time yet.
But for sure, taking a dependency on RusTLS from C code isn't a "boring" choice, and I wouldn't pretend to be confident that that would all go smoothly for a big project.