]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Accept OpenSSL 4.0.0-dev versions.
authorDarren Tucker <dtucker@dtucker.net>
Sun, 7 Sep 2025 03:35:22 +0000 (13:35 +1000)
committerDarren Tucker <dtucker@dtucker.net>
Sun, 7 Sep 2025 03:35:22 +0000 (13:35 +1000)
They seem to work, at least for now.

configure.ac

index 530875e85fe878e8b382d734d5428a3c63031ad9..819e8368949befa75ae669ee15e9aae2ab04787a 100644 (file)
@@ -3057,8 +3057,8 @@ if test "x$openssl" = "xyes" ; then
                                *) ;;   # Assume all other versions are good.
                                esac
                                ;;
-                       30*)
-                               # OpenSSL 3; we use the 1.1x API
+                       30*|40*)
+                               # OpenSSL 3 & 4; we use the 1.1x API
                                # https://openssl.org/policies/general/versioning-policy.html
                                CPPFLAGS="$CPPFLAGS -DOPENSSL_API_COMPAT=0x10100000L"
                                ;;