From 638063bfd69ae353fb1e30c0dbaa0c6f4c35dcec Mon Sep 17 00:00:00 2001 From: Sebastian Reimers Date: Wed, 22 May 2024 10:42:58 +0200 Subject: [PATCH 1/3] ci/ssl: bump ssl tools assets --- .github/workflows/ssl.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ssl.yml b/.github/workflows/ssl.yml index 39822f776..66b65b5c9 100644 --- a/.github/workflows/ssl.yml +++ b/.github/workflows/ssl.yml @@ -34,7 +34,7 @@ jobs: - name: Download pre-compiled OpenSSL/LibreSSL run: | - wget "https://github.com/baresip/tools/releases/download/v2023.11.0/assets.tar.gz" + wget "https://github.com/baresip/tools/releases/download/v2024.05.0/assets.tar.gz" tar -xf assets.tar.gz - name: make run: cmake -B build -DCMAKE_C_FLAGS="-Werror" && cmake --build build -j From 44003a10ebcd6c67f1de5af490971ae233c73642 Mon Sep 17 00:00:00 2001 From: Sebastian Reimers Date: Wed, 22 May 2024 10:48:09 +0200 Subject: [PATCH 2/3] tls/openssl: fix const X509_PURPOSE --- src/tls/openssl/tls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tls/openssl/tls.c b/src/tls/openssl/tls.c index b182b74ef..1ac0a89e1 100644 --- a/src/tls/openssl/tls.c +++ b/src/tls/openssl/tls.c @@ -495,7 +495,7 @@ int tls_set_verify_purpose(struct tls *tls, const char *purpose) { int err; int i; - X509_PURPOSE *xptmp; + const X509_PURPOSE *xptmp; if (!tls || !purpose) return EINVAL; From 7057dc773fa44b272259f104c150f484128f9839 Mon Sep 17 00:00:00 2001 From: Sebastian Reimers Date: Wed, 22 May 2024 10:51:57 +0200 Subject: [PATCH 3/3] ci/ssl: add retest action step --- .github/workflows/ssl.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ssl.yml b/.github/workflows/ssl.yml index 66b65b5c9..ae11f37fa 100644 --- a/.github/workflows/ssl.yml +++ b/.github/workflows/ssl.yml @@ -36,5 +36,13 @@ jobs: run: | wget "https://github.com/baresip/tools/releases/download/v2024.05.0/assets.tar.gz" tar -xf assets.tar.gz + - name: make - run: cmake -B build -DCMAKE_C_FLAGS="-Werror" && cmake --build build -j + run: | + cmake -B build -DCMAKE_C_FLAGS="-Werror" + cmake --build build -j + cmake --build build -t retest + + - name: retest + run: | + ./build/test/retest -r -v