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

Don't require PSK macros if PSK is not enabled #2760

Merged
merged 1 commit into from
Jul 11, 2024

Conversation

steven-bellock
Copy link
Contributor

If LIBSPDM_ENABLE_CAPABILITY_PSK_EX_CAP is not enabled then LIBSPDM_PSK_CONTEXT_LENGTH and LIBSPDM_PSK_MAX_HINT_LENGTH are still required for a successful build. This pull request fixes that as a subtask of #1211.

Signed-off-by: Steven Bellock [email protected]

If LIBSPDM_ENABLE_CAPABILITY_PSK_EX_CAP is not enabled then LIBSPDM_PSK_CONTEXT_LENGTH and LIBSPDM_PSK_MAX_HINT_LENGTH are still required for a successful build. This pull request fixes that as a subtask of DMTF#1211.

Signed-off-by: Steven Bellock <[email protected]>
@@ -7,6 +7,121 @@
#ifndef SPDM_LIB_CONFIG_H
#define SPDM_LIB_CONFIG_H

/* Code space optimization for optional messages.
Copy link
Member

Choose a reason for hiding this comment

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

why move the location?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

For #if LIBSPDM_ENABLE_CAPABILITY_PSK_CAP in line 151.

@jyao1 jyao1 merged commit 12fae2e into DMTF:main Jul 11, 2024
97 checks passed
@steven-bellock steven-bellock deleted the fix-1211 branch August 30, 2024 15:01
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