wolfSSL / wolfssl

The wolfSSL library is a small, fast, portable implementation of TLS/SSL for embedded devices to the cloud. wolfSSL supports up to TLS 1.3 and DTLS 1.3!
https://www.wolfssl.com
GNU General Public License v2.0
2.23k stars 799 forks source link

20240606-clang-tidy-and-mingw-fixes #7627

Closed douzzer closed 1 month ago

douzzer commented 1 month ago

fixes for USE_WINDOWS_API:

fixes test_wolfSSL_BIO, test_wolfSSL_X509_print, test_wolfSSL_RAND, test_wolfSSL_RSA_print in cross-mingw-all-crypto scenario.

miscellaneous fixes to clear wolfssl-multi-test.sh ... super-quick-check:

wolfcrypt/src/wc_kyber_poly.c: fix bugprone-macro-parentheses for FROM_MSG_BIT.

wolfcrypt/src/port/riscv/riscv-64-aes.c: fix trailing whitespace.

tested with wolfssl-multi-test.sh ... super-quick-check, which includes cross-mingw-all-crypto, locally fixed to work right, i.e. to actually test --enable-all-crypto.