mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-10 21:30:49 +02:00
7487366b0c
ExpectIntEQ casts both arguments to int (tests/unit.h ExpectInt), and casting a function call that returns the liboqs OQS_STATUS enum trips -Werror=bad-function-cast, which is part of the test warning set. Store the status in a local first; casting a variable does not trigger the warning. Broke falcon-enabled configs once the HAVE_PQC guard fix made this test compile. Verified: the TU reproduces the exact CI error before this change and compiles clean after, and test_wc_falcon_sign_verify still passes in a --disable-md5 --enable-opensslextra --enable-falcon --with-liboqs build.
Before creating any new configure files (.conf) read the CONF_FILES_README.md