]> tinc-vpn.org Git - tinc/blobdiff - .ci/test/run.sh
Extract common logic in OpenSSL-specific code
[tinc] / .ci / test / run.sh
index a7cfc299028f9ee192c72ce9b01f831fb19b319e..2d1eb07db76d50136f417f27323195552c6d3350 100644 (file)
@@ -86,6 +86,13 @@ nolegacy)
 gcrypt)
   run_tests gcrypt --with-libgcrypt
   ;;
+openssl3)
+  if [ -d /opt/ssl3 ]; then
+    run_tests openssl3 --with-openssl=/opt/ssl3 --with-openssl-include=/opt/ssl3/include --with-openssl-lib=/opt/ssl3/lib64
+  else
+    echo >&2 "OpenSSL 3 not installed, skipping test"
+  fi
+  ;;
 *)
   bail "unknown test flavor $1"
   ;;