[openssh-commits] [openssh] 01/02: Include OpenSSL's objects.h before bn.h.

git+noreply at mindrot.org git+noreply at mindrot.org
Tue Feb 24 13:47:11 AEDT 2015

This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit ef342ab1ce6fb9a4b30186c89c309d0ae9d0eeb4
Author: Darren Tucker <dtucker at zip.com.au>
Date:   Tue Feb 24 13:39:57 2015 +1100

    Include OpenSSL's objects.h before bn.h.
    Prevents compile errors on some platforms (at least old GCCs and AIX's
    XLC compilers).
 buffer.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/buffer.h b/buffer.h
index 9d853ed..df1aebc 100644
--- a/buffer.h
+++ b/buffer.h
@@ -47,6 +47,7 @@ int	 buffer_get_ret(Buffer *, void *, u_int);
 int	 buffer_consume_ret(Buffer *, u_int);
 int	 buffer_consume_end_ret(Buffer *, u_int);
+#include <openssl/objects.h>
 #include <openssl/bn.h>
 void    buffer_put_bignum(Buffer *, const BIGNUM *);
 void    buffer_put_bignum2(Buffer *, const BIGNUM *);

To stop receiving notification emails like this one, please contact
djm at mindrot.org.

More information about the openssh-commits mailing list