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

20241022-cleanups #8100

Merged
merged 6 commits into from
Oct 23, 2024
Merged

20241022-cleanups #8100

merged 6 commits into from
Oct 23, 2024

Conversation

douzzer
Copy link
Contributor

@douzzer douzzer commented Oct 23, 2024

fix references to misnamed HAVE_SHA224, HAVE_SHA384, HAVE_SHA512 (correct names have WOLFSSL_ prefixes).

wolfcrypt/src/ecc.c: in wc_ecc_get_curve_id_from_oid(), deconditionalize guard against zero-length len added in 03a6eed, to fix test_wc_ecc_get_curve_id_from_oid() failing in cross-mingw-all-crypto.

configure.ac: for reproducible-build, use --build-id=sha1, not --build-id=none, to support users relying on build-id in the linked object.

configure.ac: add several missing low level crypto algorithms to all-crypto that are already included indirectly in enable-all.

wolfcrypt/src/asn.c: tweak ret handling in MakeSignature() CERTSIGN_STATE_DO section for the benefit of WOLFSSL_DEBUG_TRACE_ERROR_CODES.

tests/api.c: gate test_GENERAL_NAME_set0_othername() on OPENSSL_ALL, not OPENSSL_EXTRA, as it fails with --enable-all-crypto --enable-opensslextra, and is commented to require --enable-opensslall.

tested with wolfssl-multi-test.sh ... super-quick-check

…ize guard against zero-length len added in 03a6eed, to fix test_wc_ecc_get_curve_id_from_oid() failing in cross-mingw-all-crypto.
…d-id=none, to support users relying on build-id in the linked object.
…crypto that are already included indirectly in enable-all.
…N_STATE_DO section for the benefit of WOLFSSL_DEBUG_TRACE_ERROR_CODES.
…not OPENSSL_EXTRA, as it fails with --enable-all-crypto --enable-opensslextra, and is commented to require --enable-opensslall.
@douzzer douzzer changed the title 20241022 cleanups 20241022-cleanups Oct 23, 2024
Copy link
Contributor

@JacobBarthelmeh JacobBarthelmeh left a comment

Choose a reason for hiding this comment

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

Please grep for other occurrences of HAVE_ macros and follow up with changes as needed.

@JacobBarthelmeh JacobBarthelmeh merged commit beeda7b into wolfSSL:master Oct 23, 2024
141 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants