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

Better guarding for LMS SHA256_256 vs LMS SHA256_192 #8351

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

anhu
Copy link
Member

@anhu anhu commented Jan 10, 2025

No description provided.

@anhu anhu requested review from wolfSSL-Bot and SparkiDev January 10, 2025 22:28
@anhu anhu self-assigned this Jan 10, 2025
@anhu
Copy link
Member Author

anhu commented Jan 10, 2025

Fixes a compile error when the following configure time flag is used : --enable-lms=sha256-192,no-sha256-256

#if LMS_MAX_HEIGHT >= 20
#ifndef WOLFSSL_NO_LMS_SHA256_256
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why can't we have both?
You need to use the name explicitly if you want both.

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