[PATCH uclient 00/12] fixes, improvements and CI
Petr Štetiar
ynezz at true.cz
Thu Dec 10 10:47:47 EST 2020
Hi,
this series should fix certificate verification in mbedTLS and wolfSSL like
for example FS#3465, few issues spotted by Valgrind and clang-12 static code
analyzer and adds basic cram based unit tests which should be executed on
GitLab CI.
You can find the packages ready for testing in my staging tree:
https://git.openwrt.org/?p=openwrt/staging/ynezz.git;a=shortlog;h=refs/heads/staging
Please note, that you need to update ustream-ssl I've sent in the previous
series as well and you might need also other wolfSSL updates by Eneas found in
that staging tree as well.
Cheers,
Petr
Petr Štetiar (12):
cmake: fix building out of the tree
Add basic cram based unit tests
Fix extra compiler warnings
uclient-http: fix freeing of stack allocated memory
uclient-fetch: fix statement may fallt hrough
uclient: fix initialized but never read variable
uclient-fetch: fix potential memory leaks
uclient-http: fix extra compiler warnings on mips_24kc and
cortex-a9+neon
cmake: enable extra compiler checks
uclient-fetch: init_ca_cert: fix memory leak
uclient-fetch: wolfSSL: fix certificate validation
Add initial GitLab CI support
.gitlab-ci.yml | 7 +++
CMakeLists.txt | 39 +++++++++++++--
tests/CMakeLists.txt | 1 +
tests/cram/CMakeLists.txt | 38 ++++++++++++++
tests/cram/server/lorem | 64 +++++++++++++++++++++++
tests/cram/test-san_uclient-fetch.t | 78 +++++++++++++++++++++++++++++
tests/cram/test_uclient-fetch.t | 77 ++++++++++++++++++++++++++++
uclient-fetch.c | 38 +++++++-------
uclient-http.c | 26 +++++-----
uclient.c | 4 +-
10 files changed, 336 insertions(+), 36 deletions(-)
create mode 100644 .gitlab-ci.yml
create mode 100644 tests/CMakeLists.txt
create mode 100644 tests/cram/CMakeLists.txt
create mode 100644 tests/cram/server/lorem
create mode 100644 tests/cram/test-san_uclient-fetch.t
create mode 100644 tests/cram/test_uclient-fetch.t
More information about the openwrt-devel
mailing list