]> git.ipfire.org Git - people/ms/strongswan.git/commitdiff
github: Bump wolfSSL to 4.6.0
authorTobias Brunner <tobias@strongswan.org>
Mon, 4 Jan 2021 13:47:52 +0000 (14:47 +0100)
committerTobias Brunner <tobias@strongswan.org>
Mon, 4 Jan 2021 15:09:58 +0000 (16:09 +0100)
Also enables Brainpool curves (this only enables the BP curves, while
--enable-ecccustcurves=all would also enable several others we don't support).

scripts/test.sh

index e3f7ca3b48d7b7282ec47ee8809ea80bf38e1c1a..fcb533f3bd3d60ff042e8840e3602378b8616a1e 100755 (executable)
@@ -37,7 +37,7 @@ build_botan()
 
 build_wolfssl()
 {
-       WOLFSSL_REV=e9b1ceae7e1d # v4.5.0-stable + big endian fix
+       WOLFSSL_REV=v4.6.0-stable
        WOLFSSL_DIR=$DEPS_BUILD_DIR/wolfssl
 
        if test -d "$WOLFSSL_DIR"; then
@@ -46,14 +46,14 @@ build_wolfssl()
 
        echo "$ build_wolfssl()"
 
-       WOLFSSL_CFLAGS="-DWOLFSSL_PUBLIC_MP -DWOLFSSL_DES_ECB"
+       WOLFSSL_CFLAGS="-DWOLFSSL_PUBLIC_MP -DWOLFSSL_DES_ECB -DHAVE_ECC_BRAINPOOL"
        WOLFSSL_CONFIG="--prefix=$DEPS_PREFIX
                                        --disable-crypttests --disable-examples
                                        --enable-keygen --enable-rsapss --enable-aesccm
                                        --enable-aesctr --enable-des3 --enable-camellia
                                        --enable-curve25519 --enable-ed25519
                                        --enable-curve448 --enable-ed448
-                                       --enable-sha3 --enable-shake256"
+                                       --enable-sha3 --enable-shake256 --enable-ecccustcurves"
 
        git clone https://github.com/wolfSSL/wolfssl.git $WOLFSSL_DIR &&
        cd $WOLFSSL_DIR &&