mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-10 20:20:50 +02:00
a9299732d9
The last two red PR jobs, both in the branch's new tests: - intelasm (ASAN): test_wc_AesKeyExportArgMcdc calls wc_AesInit_Id() and wc_AesInit_Label() which succeed (allocating the WC_DEBUG_CIPHER_LIFECYCLE tag) but were never freed -> 8-byte LeakSanitizer leak. Add wc_AesFree() to both blocks. - no-client-no-client-auth (minimal server-only build): test_wolfSSL_session_cache_api_direct's wolfSSL_new() returned NULL because a certless server CTX has no usable cipher suite. Load the test server cert/key (file, with a USE_CERT_BUFFERS_2048 fallback) before wolfSSL_new() in the server-only path; the client path is cert-free as before. Verified: --enable-all + ASAN run of the aes group is leak-free, and CPPFLAGS="-DNO_WOLFSSL_CLIENT -DWOLFSSL_NO_CLIENT_AUTH" now passes.
Before creating any new configure files (.conf) read the CONF_FILES_README.md