Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

small test and documentation fixes #347

Merged
merged 4 commits into from
Oct 4, 2023
Merged

small test and documentation fixes #347

merged 4 commits into from
Oct 4, 2023

Conversation

cpu
Copy link
Member

@cpu cpu commented Oct 4, 2023

Pulling out a handful of small changes from #341 that can be landed immediately without blocking on a finalized Rustls release.

tests: fix f-string in client-server.py

Another instance of a f-string gone awry. It might be nice to RIIR this integration test driver, or invest in more Python CI capabilities (like running flake8) to catch this class of bug sooner.

tests: print headers for client/server test types

I was finding it challenging to quickly scan the client/server integration test output to identify which scenario was failing. This commit adds some headers to make that easier.

tests: check add pem result in server.c

Previously the result from adding a PEM input file to a root cert store wasn't being checked. This was an omission from #321 Unfortunately it seems clang-tidy doesn't catch this 😢 My kingdom for #[must_use] return type annotations.

lib: note BoxCastPtr/ArcCastPtr are mutually exclusive

As discussed in #341, only one of BoxCastPtr or ArcCastPtr should be implemented for a type

@cpu cpu self-assigned this Oct 4, 2023
@jsha jsha merged commit c62c852 into rustls:main Oct 4, 2023
@cpu cpu deleted the cpu-small-fixes branch October 4, 2023 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants