mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-05 13:00:52 +02:00
7ea94c9a99
uclient-fetch intermittently returns 4 ("connection reset prematurely") instead of 5: with ML-KEM enabled by default the larger ClientHello is sometimes reset by the server before the cert is evaluated. Accept either on all four negative tests as a band-aid.
This container is really only useful in conjunction with the GitHub Workflow found in .github/workflows/docker-OpenWrt.yml. The idea is that we will compile a new libwolfssl that gets placed in official OpenWrt containers to run some tests ensuring the library is still compatible with existing binaries.
To run the test locally, build libwolfssl.so (or download from the GitHub Action) and put it in Docker/OpenWrt. Then switch to that folder and run: docker build -t openwrt --build-args DOCKER_BASE_CONTAINER= . where 'openwrtContainer' => "openwrt/rootfs:x86-64-22.03-SNAPSHOT" or similar
This should run some sample tests. The resulting container then can be used to evaluate OpenWrt with the latest wolfSSL library.