]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Split libcrypto and other config flags.
authorDarren Tucker <dtucker@dtucker.net>
Sun, 26 Mar 2023 03:49:43 +0000 (14:49 +1100)
committerDarren Tucker <dtucker@dtucker.net>
Sun, 26 Mar 2023 03:49:43 +0000 (14:49 +1100)
This should allow the automatic OpenSSL version selection in the tests
to work better.

.github/configs

index 963d806f1b7c4a7acaa140a229f907c27c34154d..7aeeddb8ab2fc5f027f06c71f7cb8ae04752d8f8 100755 (executable)
@@ -81,7 +81,8 @@ case "$config" in
            CFLAGS="-fsanitize=memory -fsanitize-memory-track-origins -fno-omit-frame-pointer"
            LDFLAGS="-fsanitize=memory"
            CPPFLAGS='-Dchroot=chdir -Dexplicit_bzero=bzero -DMSAN_OPTIONS=\"log_path='$SANLOGS'/msan.log\"'
-           CONFIGFLAGS="--without-openssl --without-zlib --without-shadow"
+           CONFIGFLAGS="--without-zlib --without-shadow"
+           LIBCRYPTOFLAGS="--without-openssl"
            TEST_TARGET="t-exec"
            ;;
        *-sanitize-undefined)
@@ -244,7 +245,8 @@ case "${TARGET_HOST}" in
        SKIP_LTESTS="forwarding multiplex proxy-connect hostkey-agent agent-ptrace"
        ;;
     minix3)
-       LIBCRYPTOFLAGS="--without-openssl --disable-security-key"
+       CONFIGFLAGS="${CONFIGFLAGS} --disable-security-key"
+       LIBCRYPTOFLAGS="--without-openssl"
        # Minix does not have a loopback interface so we have to skip any
        # test that relies on one.
        # Also, Minix seems to be very limited in the number of select()
@@ -268,7 +270,8 @@ case "${TARGET_HOST}" in
        CONFIGFLAGS="${CONFIGFLAGS} --without-hardening --disable-security-key"
        ;;
     openwrt-*)
-       CONFIGFLAGS="${CONFIGFLAGS} --without-openssl --without-zlib"
+       CONFIGFLAGS="${CONFIGFLAGS} --without-zlib"
+       LIBCRYPTOFLAGS="--without-openssl"
        TEST_TARGET="t-exec"
        ;;
     sol10|sol11)