]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
abort in configure when only openssl-1.1.x found
authorDamien Miller <djm@mindrot.org>
Thu, 28 Sep 2017 21:54:34 +0000 (14:54 -0700)
committerDamien Miller <djm@mindrot.org>
Thu, 28 Sep 2017 21:54:34 +0000 (14:54 -0700)
We don't support openssl-1.1.x yet (see multiple threads on the
openssh-unix-dev@ mailing list for the reason), but previously
./configure would accept it and the compilation would subsequently
fail. This makes ./configure display an explicit error message and
abort.

ok dtucker@

configure.ac

index e9c593acb759ab7fa507d9791440d47b49f8039e..4eb65f52c035c8a16c6767d94076e25a1cc5411e 100644 (file)
@@ -2549,7 +2549,10 @@ if test "x$openssl" = "xyes" ; then
                                10000*|0*)
                                        AC_MSG_ERROR([OpenSSL >= 1.0.1 required (have "$ssl_library_ver")])
                                        ;;
-                               *) ;;
+                               100*)   ;; # 1.0.x
+                               *)
+                                       AC_MSG_ERROR([OpenSSL >= 1.1.0 is not yet supported (have "$ssl_library_ver")])
+                                       ;;
                        esac
                        AC_MSG_RESULT([$ssl_library_ver])
                ],