Skip to content

small test and documentation fixes - #347

Merged
jsha merged 4 commits into
rustls:mainfrom
cpu:cpu-small-fixes
Oct 4, 2023
Merged

small test and documentation fixes#347
jsha merged 4 commits into
rustls:mainfrom
cpu:cpu-small-fixes

Conversation

@cpu

@cpu cpu commented Oct 4, 2023

Copy link
Copy Markdown
Member

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