rustls / rustls-ffi

Use Rustls from any language
Other
132 stars 30 forks source link

Update rustls_result_is_cert_error to include InvalidCertificateData #226

Closed jsha closed 2 years ago

jsha commented 2 years ago

Per https://github.com/curl/curl/issues/8004, there is a test case in curl failing because an invalid certificate returns the wrong error. That's because, in the upgrade to rustls 0.20, we didn't add InvalidCertificateData to the list of is_cert_error results.