]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
github: Use OpenSSL 1.1 on macOS
authorTobias Brunner <tobias@strongswan.org>
Thu, 23 Sep 2021 14:56:19 +0000 (16:56 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 23 Sep 2021 15:02:17 +0000 (17:02 +0200)
The "openssl" alias now defaults to OpenSSL 3.0, which produces a lot of
deprecation warnings.  To avoid build failures due to `-Werror`, stay with
OpenSSL 1.1 until we can get rid of these issues.

scripts/test.sh

index ddd9db4198397908fefe513e5efb4651bb59b0e2..1411f141251d385020652645102a32d74eb17da0 100755 (executable)
@@ -240,7 +240,7 @@ macos)
                        --enable-scepclient --enable-socket-default --enable-sshkey
                        --enable-stroke --enable-swanctl --enable-unity --enable-updown
                        --enable-x509 --enable-xauth-generic"
-       DEPS="automake autoconf libtool bison gettext openssl curl"
+       DEPS="automake autoconf libtool bison gettext openssl@1.1 curl"
        BREW_PREFIX=$(brew --prefix)
        export PATH=$BREW_PREFIX/opt/bison/bin:$PATH
        export ACLOCAL_PATH=$BREW_PREFIX/opt/gettext/share/aclocal:$ACLOCAL_PATH