Skip to content

Conversation

@cpu
Copy link
Member

@cpu cpu commented Oct 4, 2024

When we made the server config builder use an out param for the built config it allowed us to return an error when building a config without a cert resolver. At the time we used RUSTLS_RESULT_GENERAL, but this offers no significant hint at the root cause. This commit introduces a new RUSTLS_RESULT_NO_CERT_RESOLVER error and updates the impl and unit test to use it.

Resolves #217

When we made the server config builder use an out param for the built
config it allowed us to return an error when building a config without
a cert resolver. At the time we used `RUSTLS_RESULT_GENERAL`, but this
offers no significant hint at the root cause. This commit introduces
a new `RUSTLS_RESULT_NO_CERT_RESOLVER` error and updates the impl and
unit test to use it.
@cpu cpu self-assigned this Oct 4, 2024
@cpu
Copy link
Member Author

cpu commented Oct 4, 2024

rustls-ffi / Clippy nightly (optional) (pull_request) Failing after 53s

I'll fix these findings separately.

@cpu cpu merged commit 1e9d925 into rustls:main Oct 4, 2024
@cpu cpu deleted the cpu-builder-no-resolver-err branch October 4, 2024 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants