]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Add test against OpenSSL w/out ECC.
authorDarren Tucker <dtucker@dtucker.net>
Mon, 26 Apr 2021 05:34:23 +0000 (15:34 +1000)
committerDarren Tucker <dtucker@dtucker.net>
Mon, 26 Apr 2021 05:34:23 +0000 (15:34 +1000)
.github/setup_ci.sh
.github/workflows/c-cpp.yml

index 72b545ce5cd85778d2fe34b5a97553789e850629..4c7a90196b19e8fd9d01c5d50d38b2d73ed03f3c 100755 (executable)
@@ -47,6 +47,10 @@ for TARGET in $TARGETS; do
     hardenedmalloc)
         INSTALL_HARDENED_MALLOC=yes
        ;;
+    openssl-noec)
+       INSTALL_OPENSSL=OpenSSL_1_1_1k
+       SSLCONFOPTS="no-ec"
+       ;;
     openssl-*)
         INSTALL_OPENSSL=$(echo ${TARGET} | cut -f2 -d-)
         case ${INSTALL_OPENSSL} in
@@ -94,7 +98,8 @@ if [ ! -z "${INSTALL_OPENSSL}" ]; then
     (cd ${HOME} &&
      git clone https://github.com/openssl/openssl.git &&
      cd ${HOME}/openssl &&
-     ./config no-threads no-engine no-fips no-shared --prefix=/opt/openssl/head &&
+     ./config no-threads no-engine no-fips no-shared ${SSLCONFOPTS} \
+         --prefix=/opt/openssl/head &&
      make -j2 && sudo make install_sw)
 fi
 
index 0dab607ed980bd1d1ebf72afd9e94e6662455940..81a6f0e05f09b9be85e26b10d8c9d09da8806850 100644 (file)
@@ -33,6 +33,7 @@ jobs:
           - { os: ubuntu-20.04, configs: libressl-3.0.2 }
           - { os: ubuntu-20.04, configs: libressl-3.2.5 }
           - { os: ubuntu-20.04, configs: openssl-master }
+          - { os: ubuntu-20.04, configs: openssl-noec }
           - { os: ubuntu-20.04, configs: openssl-1.0.1 }
           - { os: ubuntu-20.04, configs: openssl-1.0.1u }
           - { os: ubuntu-20.04, configs: openssl-1.0.2u }