summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2015-02-24 13:39:57 +1100
committerDarren Tucker <dtucker@zip.com.au>2015-02-24 13:39:57 +1100
commitef342ab1ce6fb9a4b30186c89c309d0ae9d0eeb4 (patch)
treee7e7044d451e9ef72f69f9e4ae95d76933b972ce
parentdcc8997d116f615195aa7c9ec019fb36c28c6228 (diff)
Include OpenSSL's objects.h before bn.h.
Prevents compile errors on some platforms (at least old GCCs and AIX's XLC compilers).
-rw-r--r--buffer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/buffer.h b/buffer.h
index 9d853edf2..df1aebc02 100644
--- a/buffer.h
+++ b/buffer.h
@@ -47,6 +47,7 @@ int buffer_get_ret(Buffer *, void *, u_int);
47int buffer_consume_ret(Buffer *, u_int); 47int buffer_consume_ret(Buffer *, u_int);
48int buffer_consume_end_ret(Buffer *, u_int); 48int buffer_consume_end_ret(Buffer *, u_int);
49 49
50#include <openssl/objects.h>
50#include <openssl/bn.h> 51#include <openssl/bn.h>
51void buffer_put_bignum(Buffer *, const BIGNUM *); 52void buffer_put_bignum(Buffer *, const BIGNUM *);
52void buffer_put_bignum2(Buffer *, const BIGNUM *); 53void buffer_put_bignum2(Buffer *, const BIGNUM *);