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

Fix SimulateHwMechanism #15

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

Jemmy1228
Copy link
Contributor

The original implementation incorrectly inverted the SimulateHwMechanism flag. As a result, when SimulateHwMechanism is set to true, it does not simulate a hardware mechanism, and when set to false, it does simulate one, which is incorrect.

This PR restores the correct behavior by inverting the if condition, ensuring that the flag functions as intended.

@harrison314 harrison314 self-requested a review November 18, 2024 12:39
@harrison314
Copy link
Owner

Thanks for fix the error.

@harrison314 harrison314 merged commit 0b878b8 into harrison314:main Nov 18, 2024
@harrison314
Copy link
Owner

This change is included in https://github.com/harrison314/BouncyHsm/releases/tag/v1.1.1

@Jemmy1228
Copy link
Contributor Author

That's great! Thanks for your timely response.

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