András Fekete 8ecd906c23 Update open wrt test (#6010) 1 year ago
..
Dockerfile 8ecd906c23 Update open wrt test (#6010) 1 year ago
README.md 8ecd906c23 Update open wrt test (#6010) 1 year ago
runTests.sh aa776057ff fixes: shellcheck gripes on Docker/OpenWrt/runTests.sh; null pointer derefs and duplicate tests and assigns in src/tls.c and wolfcrypt/src/hpke.c found by cppcheck (nullPointerRedundantCheck, identicalInnerCondition, duplicateAssignExpression). 1 year ago

README.md

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.