summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2017-09-28 14:54:34 -0700
committerDamien Miller <djm@mindrot.org>2017-09-28 14:54:34 -0700
commit04dc070e8b4507d9d829f910b29be7e3b2414913 (patch)
tree08868ff9e34e2b4c6d59c359fb70673ef66d2095 /configure.ac
parent74c1c3660acf996d9dc329e819179418dc115f2c (diff)
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@
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index e9c593acb..4eb65f52c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2549,7 +2549,10 @@ if test "x$openssl" = "xyes" ; then
2549 10000*|0*) 2549 10000*|0*)
2550 AC_MSG_ERROR([OpenSSL >= 1.0.1 required (have "$ssl_library_ver")]) 2550 AC_MSG_ERROR([OpenSSL >= 1.0.1 required (have "$ssl_library_ver")])
2551 ;; 2551 ;;
2552 *) ;; 2552 100*) ;; # 1.0.x
2553 *)
2554 AC_MSG_ERROR([OpenSSL >= 1.1.0 is not yet supported (have "$ssl_library_ver")])
2555 ;;
2553 esac 2556 esac
2554 AC_MSG_RESULT([$ssl_library_ver]) 2557 AC_MSG_RESULT([$ssl_library_ver])
2555 ], 2558 ],