Skip to content

Fix compilation of wc_RsaFunctionNonBlock if WOLFSSL_RSA_PUBLIC_ONLY …#6556

Merged
dgarske merged 1 commit intowolfSSL:masterfrom
StMartin81:Fix_compilation_of_wc_RsaFunctionNonBlock_if_WOLFSSL_RSA_PUBLIC_ONLY_is_defined
Jul 3, 2023
Merged

Fix compilation of wc_RsaFunctionNonBlock if WOLFSSL_RSA_PUBLIC_ONLY …#6556
dgarske merged 1 commit intowolfSSL:masterfrom
StMartin81:Fix_compilation_of_wc_RsaFunctionNonBlock_if_WOLFSSL_RSA_PUBLIC_ONLY_is_defined

Conversation

@StMartin81
Copy link
Copy Markdown

I'm not sure if this patch is correct but when WOLFSSL_RSA_PUBLIC_ONLY is defined the RsaKey struct doesn't contain the "d" field.

@wolfSSL-Bot
Copy link
Copy Markdown

Can one of the admins verify this patch?

@dgarske dgarske self-assigned this Jun 29, 2023
@dgarske
Copy link
Copy Markdown
Member

dgarske commented Jun 29, 2023

Thank you @StMartin81 for the fix! Contributor agreement on file. OK to test.

Copy link
Copy Markdown
Member

@dgarske dgarske left a comment

Choose a reason for hiding this comment

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

Thank you @StMartin81 , this is the correct fix. This matches the pattern used in the normal synchronous software case and fixes the build to allow public only. The CI failure is internal issue with our FIPS tests (we will resolve and retry).

./configure --enable-fastmath CFLAGS="-DWC_RSA_NONBLOCK -DWOLFSSL_RSA_PUBLIC_ONLY" --disable-examples --disable-crypttests && make

@dgarske
Copy link
Copy Markdown
Member

dgarske commented Jun 29, 2023

Retest this please

1 similar comment
@dgarske
Copy link
Copy Markdown
Member

dgarske commented Jun 30, 2023

Retest this please

@dgarske
Copy link
Copy Markdown
Member

dgarske commented Jun 30, 2023

Retest this please

@dgarske
Copy link
Copy Markdown
Member

dgarske commented Jun 30, 2023

Retest this please. Our CI/Jenkins is showing different failures unrelated to the changes in this PR.

@dgarske dgarske merged commit 678a658 into wolfSSL:master Jul 3, 2023
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.

3 participants