From 04dc070e8b4507d9d829f910b29be7e3b2414913 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Thu, 28 Sep 2017 14:54:34 -0700 Subject: abort in configure when only openssl-1.1.x found 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 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index e9c593ac..4eb65f52 100644 --- a/configure.ac +++ b/configure.ac @@ -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]) ], -- cgit v1.2.3