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

Misc. fixes #5169

Merged
merged 5 commits into from
May 26, 2022
Merged

Misc. fixes #5169

merged 5 commits into from
May 26, 2022

Conversation

kareem-wolfssl
Copy link
Contributor

@kareem-wolfssl kareem-wolfssl commented May 23, 2022

Description

Update Zephyr fs.h path. Fixes #5135
Remove MCAPI project's depency on zlib version. Fixes #5017
Only use __builtin_offset on supported GCC versions (4+). Fixes ZD 14195
Increase MAX_ECC_STRING to fix off-by-one error. Fixes #5173

Testing

Confirmed wolfSSL builds successfully.

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

@@ -828,7 +828,7 @@ decouple library dependencies with standard string, memory and so on.
#endif

#ifndef OFFSETOF
#if defined(__clang__) || defined(__GNUC__)
#if defined(__clang__) || (__GNUC__ >= 4)
Copy link
Contributor

Choose a reason for hiding this comment

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

This needs to also check if __GNUC__ is defined. Please change to:
#if defined(__clang__) || (defined(__GNUC__) && __GNUC__ >= 4)

@dgarske dgarske assigned kareem-wolfssl and unassigned dgarske May 24, 2022
…trings (in eg. SECP160R1). Note that this now matches the check in wc_EccPublicKeyDecode.
@dgarske dgarske merged commit f93b23b into wolfSSL:master May 26, 2022
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.

[Bug]: MAX_ECC_STRING is not large enough (1 byte less) Fatal error on building for zephyr
2 participants