]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
fix configure test for OpenSSL version
authorDamien Miller <djm@mindrot.org>
Thu, 22 Nov 2018 23:45:20 +0000 (10:45 +1100)
committerDamien Miller <djm@mindrot.org>
Thu, 22 Nov 2018 23:45:20 +0000 (10:45 +1100)
square brackets in case statements may be eaten by autoconf.

Report and fix from Filipp Gunbin; tweaked by naddy@

configure.ac

index 5a9b3ff11e96dcbdfca5716a978e5fd34c109bb3..14e7c4a61c3a2505af390b2e26943ea09dc545fe 100644 (file)
@@ -2612,7 +2612,7 @@ if test "x$openssl" = "xyes" ; then
                                AC_MSG_ERROR([OpenSSL >= 1.0.1 required (have "$ssl_library_ver")])
                                ;;
                        100*)   ;; # 1.0.x
-                       101000[0123456]*)
+                       101000[[0123456]]*)
                                # https://github.com/openssl/openssl/pull/4613
                                AC_MSG_ERROR([OpenSSL 1.1.x versions prior to 1.1.0g have a bug that breaks their use with OpenSSH (have "$ssl_library_ver")])
                                ;;