mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-10-24 04:09:07 +03:00
scripts/external.test connects to www.wolfssl.com without a server_name extension, so the CDN in front of that host answers with its own default certificate rather than the wolfSSL one. That chain currently runs through the RSA-4096 GlobalSign Root R46, while the intended chain is RSA-2048 throughout, so the test only passes on builds able to verify a 4096-bit signature. Two PRB configurations fail on master because of it. The fastmath leg with FP_MAX_BITS=6144 reports BUFFER_E, and the 32-bit leg reports ASN_SIG_CONFIRM_E because a build without WOLFSSL_X86_64_BUILD, WOLFSSL_AARCH64_BUILD or OPENSSL_EXTRA defaults SP_INT_BITS to 3072. Both are correct refusals to handle a key larger than the build supports, so the test, not the library, is what needs fixing. Name the host with -S in both client invocations. The option is a no-op where the build lacks SNI, so those configurations keep their current behavior, and the check uses the client's own "-S check" probe to decide. Verified by building master with CFLAGS=-DSP_INT_BITS=3072, which reproduces the BUFFER_E failure, and confirming the test passes with this change in the same build and in an --enable-all build.
2.9 KiB
Executable File
2.9 KiB
Executable File