OpenSSL 1.1.0j version checking bug in configure.ac [PATCH]

Filipp Gunbin fgunbin at fastmail.fm
Fri Nov 23 07:30:26 AEDT 2018


Hi, I've just found this issue - brackets are eaten by Autoconf.
Quadrigraphs [1] may be used instead.  This way configure produces
correct error.

Filipp

[1] https://www.gnu.org/software/autoconf/manual/autoconf-2.66/html_node/Quadrigraphs.html


diff --git a/configure.ac b/configure.ac
index 7379ab35..dcf52230 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2616,7 +2616,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")])
 				;;


More information about the openssh-unix-dev mailing list