]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
Use wolfSSL 5.8.0 for tests
authorTobias Brunner <tobias@strongswan.org>
Fri, 25 Apr 2025 06:26:58 +0000 (08:26 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 13 May 2025 15:14:54 +0000 (17:14 +0200)
scripts/test.sh
testing/scripts/recipes/012_wolfssl.mk

index 31d58875c4ab656fb177751a9ae9debc76531f93..3e79456cba18a69f661ad9b51c865d15ecaf51a4 100755 (executable)
@@ -37,7 +37,7 @@ build_botan()
 
 build_wolfssl()
 {
-       WOLFSSL_REV=v5.7.4-stable
+       WOLFSSL_REV=v5.8.0-stable
        WOLFSSL_DIR=$DEPS_BUILD_DIR/wolfssl
 
        if test -d "$WOLFSSL_DIR"; then
@@ -54,7 +54,7 @@ build_wolfssl()
                                        --enable-aesccm --enable-aesctr --enable-camellia
                                        --enable-curve25519 --enable-curve448 --enable-des3
                                        --enable-ecccustcurves --enable-ed25519 --enable-ed448
-                                       --enable-keygen --enable-kyber --with-max-rsa-bits=8192
+                                       --enable-keygen --enable-mlkem --with-max-rsa-bits=8192
                                        --enable-md4 --enable-rsapss --enable-sha3 --enable-shake256"
 
        git clone https://github.com/wolfSSL/wolfssl.git $WOLFSSL_DIR &&
index 70e4033a761d05989f98e63fc65ad41e5cc3c469..1d4c8c8d6d0c69b8f85cf30519791d9b9bf71730 100644 (file)
@@ -2,7 +2,7 @@
 
 PKG = wolfssl
 SRC = https://github.com/wolfSSL/$(PKG).git
-REV = v5.7.4-stable
+REV = v5.8.0-stable
 
 NUM_CPUS := $(shell getconf _NPROCESSORS_ONLN)
 
@@ -26,8 +26,8 @@ CONFIG_OPTS = \
        --enable-ed25519 \
        --enable-ed448 \
        --enable-keygen \
-       --enable-kyber \
        --enable-md4 \
+       --enable-mlkem \
        --enable-rsapss \
        --enable-sha3 \
        --enable-shake256 \
@@ -40,7 +40,7 @@ all: install
        @touch $@
 
 .$(PKG)-checkout-$(REV): .$(PKG)-cloned
-       cd $(PKG) && git fetch --tags && git checkout $(REV)
+       cd $(PKG) && git fetch -f --tags && git checkout $(REV)
        @rm -f .$(PKG)-checkout-* && touch $@
 
 .$(PKG)-built-$(REV): .$(PKG)-checkout-$(REV)