cloudflare / boring

BoringSSL bindings for the Rust programming language.
354 stars 107 forks source link

Expose mTLS related APIs, introduce ForeignTypeExt + ForeignTypeRefExt, add corresponds macro #262

Closed rushilmehra closed 1 month ago

rushilmehra commented 1 month ago

ForeignTypeExt and ForeignTypeRefExt are inspired by https://github.com/sfackler/rust-openssl/pull/1345, which make dealing with FFI safer and more ergonomic. The new APIs also allow for gracefully handling instances where the initial API call results in NULL