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

20241204-more-C89-expansion #8253

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

douzzer
Copy link
Contributor

@douzzer douzzer commented Dec 5, 2024

wolfCrypt -Wconversion expansion: fix numerous warnings from -Warith-conversion -Wenum-conversion -Wfloat-conversion -Wsign-conversion.

tested with wolfssl-multi-test.sh ... super-quick-check '.*Wconversion.*' with

CONVERSION_WARNINGS=(-Wconversion -Warith-conversion -Wenum-conversion -Wfloat-conversion -Wsign-conversion)

and

FIPS_CONVERSION_WARNINGS=(-Wconversion)

(CONVERSION_WARNINGS and FIPS_CONVERSION_WARNINGS are enhancements not yet pushed, that substitute for ad hoc -Wconversion in '.*Wconversion.*' scenarios.)

@douzzer douzzer marked this pull request as draft December 5, 2024 01:45
@dgarske dgarske removed their assignment Dec 5, 2024
@dgarske dgarske removed their request for review December 5, 2024 18:48
wolfcrypt/src/aes.c Show resolved Hide resolved
wolfcrypt/src/aes.c Show resolved Hide resolved
wolfcrypt/src/aes.c Show resolved Hide resolved
wolfcrypt/src/aes.c Show resolved Hide resolved
wolfcrypt/src/aes.c Show resolved Hide resolved
wolfcrypt/src/coding.c Show resolved Hide resolved
wolfcrypt/src/ecc.c Outdated Show resolved Hide resolved
wolfcrypt/src/sp_int.c Show resolved Hide resolved
wolfssl/wolfcrypt/types.h Outdated Show resolved Hide resolved
wolfssl/wolfcrypt/hash.h Outdated Show resolved Hide resolved
@douzzer douzzer force-pushed the 20241204-more-C89-expansion branch 2 times, most recently from f8dd844 to e5c0373 Compare December 12, 2024 20:19
@douzzer douzzer removed the request for review from kaleb-himes December 13, 2024 04:12
@douzzer douzzer force-pushed the 20241204-more-C89-expansion branch from e5c0373 to a557f44 Compare December 17, 2024 06:06
@douzzer douzzer requested a review from SparkiDev December 17, 2024 06:06
@douzzer douzzer marked this pull request as ready for review December 17, 2024 06:06
@douzzer
Copy link
Contributor Author

douzzer commented Dec 17, 2024

retest this please (PRB-sp.txt_60 "FAIL scripts/unit.test (exit status: 1)")

…from -Warith-conversion -Wenum-conversion -Wfloat-conversion -Wsign-conversion.
@douzzer douzzer force-pushed the 20241204-more-C89-expansion branch from a557f44 to 122502e Compare December 18, 2024 17:54
@dgarske dgarske assigned dgarske and unassigned douzzer and SparkiDev Dec 18, 2024
@dgarske dgarske merged commit afff48f into wolfSSL:master Dec 18, 2024
148 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.

4 participants