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

add "custom server" macro for tests #30

Merged
merged 2 commits into from
May 20, 2024

Conversation

bigbrett
Copy link
Contributor

@bigbrett bigbrett commented May 20, 2024

Adds macro to protect portions of the crypto tests that require custom logic on the server side, that would prohibit them from being run against a standard server.

This is required for whTest_CryptoClientConfig() to run against a standard server on the HSM core on real hardware.

This is not a long-term solution on its own - instead we should separate tests into single client and multi-client tests in addition to those requiring custom servers, as well as standardize a demo routine separate from the unit tests.

Apologies for the double-negative macro, but I wanted to keep this off by default to avoid breaking things and touch as little code as possible (since this is a temporary solution)

@billphipps billphipps merged commit f4cde33 into wolfSSL:main May 20, 2024
1 check passed
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