rustls / rustls-ffi

Use Rustls from any language
Other
124 stars 31 forks source link

error: fixup invalid message errors. #310

Closed cpu closed 1 year ago

cpu commented 1 year ago

The UnsupportedCurve, InvalidCertificateStatusType and KeyUpdateRequest variants of the upstream InvalidMessage variants were changed to remove subvariants that leaked internal API details.

This commit adjusts rustls-ffi error handling to follow. Also, since the UnsupportedCurve error was renamed upstream to UnsupportedCurveType we do the same here.

Lastly, the Cargo.lock is updated to bring in the new upstream changes.