Skip to content

Conversation

@anhu
Copy link
Member

@anhu anhu commented Sep 24, 2025

No description provided.

@anhu anhu requested a review from wolfSSL-Bot September 24, 2025 15:30
@anhu anhu self-assigned this Sep 24, 2025
@anhu
Copy link
Member Author

anhu commented Sep 24, 2025

This would have prevented ZD20564

#undef HAVE_ECC_KEY_EXPORT
#define HAVE_ECC_KEY_EXPORT
#endif
#ifndef WOLFSSL_NO_VALIDATE_ECC_IMPORT
Copy link
Contributor

@douzzer douzzer Sep 24, 2025

Choose a reason for hiding this comment

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

needs to be

    #if !defined(WOLFSSL_NO_VALIDATE_ECC_IMPORT) && \
        !defined(WOLFSSL_VALIDATE_ECC_IMPORT)

to avoid error: ... redefined.

You may also want to add

#elif defined(WOLFSSL_NO_VALIDATE_ECC_IMPORT) && \
      defined(WOLFSSL_VALIDATE_ECC_IMPORT)
    #error Conflicting settings for WOLFSSL_VALIDATE_ECC_IMPORT.

@anhu anhu force-pushed the ecc_validate_by_default branch from 7b8667c to 360f24d Compare September 24, 2025 19:06
@anhu anhu force-pushed the ecc_validate_by_default branch from 360f24d to 9030c6c Compare September 24, 2025 19:12
@anhu
Copy link
Member Author

anhu commented Sep 24, 2025

Doing this check at TLS connection time is not a practical thing to do. Expensive. Lets not do this by default.

@anhu anhu closed this Sep 24, 2025
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