diff options
author | Damien Miller <djm@mindrot.org> | 2014-08-22 17:36:19 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2014-08-22 17:36:19 +1000 |
commit | 6d62784b8973340b251fea6b04890f471adf28db (patch) | |
tree | 77b0ebdf3fb634bb079a636e2b7f3b531e79745f | |
parent | 4f1ff1ed782117f5d5204d4e91156ed5da07cbb7 (diff) | |
download | openssh-git-6d62784b8973340b251fea6b04890f471adf28db.tar.gz |
- (djm) [configure.ac] include leading zero characters in OpenSSL version
number; fixes test for unsupported versions
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | configure.ac | 8 |
2 files changed, 8 insertions, 4 deletions
@@ -1,3 +1,7 @@ +20140822 + - (djm) [configure.ac] include leading zero characters in OpenSSL version + number; fixes test for unsupported versions + 20140821 - (djm) [Makefile.in] fix reference to libtest_helper.a in sshkey test too. - (djm) [key.h] Fix ifdefs for no-ECC OpenSSL diff --git a/configure.ac b/configure.ac index 11e8e12e..479d4c71 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -# $Id: configure.ac,v 1.579 2014/08/20 01:05:03 djm Exp $ +# $Id: configure.ac,v 1.580 2014/08/22 07:36:20 djm Exp $ # # Copyright (c) 1999-2004 Damien Miller # @@ -15,7 +15,7 @@ # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. AC_INIT([OpenSSH], [Portable], [openssh-unix-dev@mindrot.org]) -AC_REVISION($Revision: 1.579 $) +AC_REVISION($Revision: 1.580 $) AC_CONFIG_SRCDIR([ssh.c]) AC_LANG([C]) @@ -2243,7 +2243,7 @@ AC_RUN_IFELSE( if(fd == NULL) exit(1); - if ((rc = fprintf(fd ,"%x (%s)\n", OPENSSL_VERSION_NUMBER, OPENSSL_VERSION_TEXT)) <0) + if ((rc = fprintf(fd ,"%08x (%s)\n", OPENSSL_VERSION_NUMBER, OPENSSL_VERSION_TEXT)) <0) exit(1); exit(0); @@ -2278,7 +2278,7 @@ AC_RUN_IFELSE( if(fd == NULL) exit(1); - if ((rc = fprintf(fd ,"%x (%s)\n", SSLeay(), + if ((rc = fprintf(fd ,"%08x (%s)\n", SSLeay(), SSLeay_version(SSLEAY_VERSION))) <0) exit(1); |