]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
- (djm) [configure.ac] Delay checks for arc4random* until after libcrypto V_6_6 anongit/V_6_6 github-selfhosted/V_6_6 github/V_6_6
authorDamien Miller <djm@mindrot.org>
Tue, 15 Jul 2014 01:51:08 +0000 (11:51 +1000)
committerDamien Miller <djm@mindrot.org>
Tue, 15 Jul 2014 01:51:08 +0000 (11:51 +1000)
   has been located; fixes builds agains libressl-portable

ChangeLog
configure.ac

index 60f181a60a0139f9c3c603ae6e7bdbb17024abab..25961708013ed356ba1294be998dba9c4f9fe078 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+20140715
+ - (djm) [configure.ac] Delay checks for arc4random* until after libcrypto
+   has been located; fixes builds agains libressl-portable
+
 20140420
  - (djm) [bufaux.c compat.c compat.h sshconnect2.c sshd.c version.h]
    OpenSSH 6.5 and 6.6 sometimes encode a value used in the curve25519
index 7c6ce08d8c4d4074e229b0e62bd93bba20209e26..1bf20059abee90e54f581c1ce006ebacaa31305c 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: configure.ac,v 1.571 2014/02/21 17:09:34 tim Exp $
+# $Id: configure.ac,v 1.571.2.1 2014/07/15 01:51:09 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.571 $)
+AC_REVISION($Revision: 1.571.2.1 $)
 AC_CONFIG_SRCDIR([ssh.c])
 AC_LANG([C])
 
@@ -1631,10 +1631,6 @@ AC_CHECK_FUNCS([ \
        Blowfish_expandstate \
        Blowfish_expand0state \
        Blowfish_stream2word \
-       arc4random \
-       arc4random_buf \
-       arc4random_stir \
-       arc4random_uniform \
        asprintf \
        b64_ntop \
        __b64_ntop \
@@ -2685,6 +2681,13 @@ fi
 AC_SUBST([TEST_SSH_ECC])
 AC_SUBST([COMMENT_OUT_ECC])
 
+AC_CHECK_FUNCS([ \
+       arc4random \
+       arc4random_buf \
+       arc4random_stir \
+       arc4random_uniform \
+])
+
 saved_LIBS="$LIBS"
 AC_CHECK_LIB([iaf], [ia_openinfo], [
        LIBS="$LIBS -liaf"