diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | configure.ac | 14 |
2 files changed, 15 insertions, 3 deletions
@@ -1,3 +1,7 @@ | |||
1 | 2014020 | ||
2 | - (djm) [configure.ac] Check OpenSSL version is supported at configure time; | ||
3 | suggested by Kevin Brott | ||
4 | |||
1 | 20140819 | 5 | 20140819 |
2 | - (djm) [serverloop.c] Fix syntax error on Cygwin; from Corinna Vinschen | 6 | - (djm) [serverloop.c] Fix syntax error on Cygwin; from Corinna Vinschen |
3 | - (djm) [sshbuf.h] Fix compilation on systems without OPENSSL_HAS_ECC. | 7 | - (djm) [sshbuf.h] Fix compilation on systems without OPENSSL_HAS_ECC. |
diff --git a/configure.ac b/configure.ac index 866acc8a6..11e8e12e0 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: configure.ac,v 1.578 2014/07/15 00:41:39 djm Exp $ | 1 | # $Id: configure.ac,v 1.579 2014/08/20 01:05:03 djm Exp $ |
2 | # | 2 | # |
3 | # Copyright (c) 1999-2004 Damien Miller | 3 | # Copyright (c) 1999-2004 Damien Miller |
4 | # | 4 | # |
@@ -15,7 +15,7 @@ | |||
15 | # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
16 | 16 | ||
17 | AC_INIT([OpenSSH], [Portable], [openssh-unix-dev@mindrot.org]) | 17 | AC_INIT([OpenSSH], [Portable], [openssh-unix-dev@mindrot.org]) |
18 | AC_REVISION($Revision: 1.578 $) | 18 | AC_REVISION($Revision: 1.579 $) |
19 | AC_CONFIG_SRCDIR([ssh.c]) | 19 | AC_CONFIG_SRCDIR([ssh.c]) |
20 | AC_LANG([C]) | 20 | AC_LANG([C]) |
21 | 21 | ||
@@ -2278,13 +2278,21 @@ AC_RUN_IFELSE( | |||
2278 | if(fd == NULL) | 2278 | if(fd == NULL) |
2279 | exit(1); | 2279 | exit(1); |
2280 | 2280 | ||
2281 | if ((rc = fprintf(fd ,"%x (%s)\n", SSLeay(), SSLeay_version(SSLEAY_VERSION))) <0) | 2281 | if ((rc = fprintf(fd ,"%x (%s)\n", SSLeay(), |
2282 | SSLeay_version(SSLEAY_VERSION))) <0) | ||
2282 | exit(1); | 2283 | exit(1); |
2283 | 2284 | ||
2284 | exit(0); | 2285 | exit(0); |
2285 | ]])], | 2286 | ]])], |
2286 | [ | 2287 | [ |
2287 | ssl_library_ver=`cat conftest.ssllibver` | 2288 | ssl_library_ver=`cat conftest.ssllibver` |
2289 | # Check version is supported. | ||
2290 | case "$ssl_library_ver" in | ||
2291 | 0090[0-7]*|009080[0-5]*) | ||
2292 | AC_MSG_ERROR([OpenSSL >= 0.9.8f required]) | ||
2293 | ;; | ||
2294 | *) ;; | ||
2295 | esac | ||
2288 | AC_MSG_RESULT([$ssl_library_ver]) | 2296 | AC_MSG_RESULT([$ssl_library_ver]) |
2289 | ], | 2297 | ], |
2290 | [ | 2298 | [ |