mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-08-10 17:51:20 +02:00
test_wc_EccDecisionCoverage2 broke the unit.test link in several CI configs (net-snmp, C#/Rust wrappers, make check/analyze, etc.): - The wc_ecc_check_r_s_range block calls mp_init/mp_read_radix/mp_copy/ mp_clear, which resolve to sp_* under WOLFSSL_SP_MATH_ALL and are only exported with WOLFSSL_PUBLIC_MP. Add defined(WOLFSSL_PUBLIC_MP) to its guard (matching the other mp_*-using blocks in this file). - wc_ecc_export_point_der_compressed is WOLFSSL_LOCAL (hidden in a shared library) so it is not linkable from the shared-library unit test. Drop the four direct calls; its decision coverage is driven by the ecc white-box (which includes ecc.c). The public compressed path wc_ecc_export_x963_ex(...,1) is retained. Verified: --enable-net-snmp and --enable-all (+WOLFSSL_PUBLIC_MP) both build and link; unit.test passes.
Before creating any new configure files (.conf) read the CONF_FILES_README.md