diff options
author | Darren Tucker <dtucker@zip.com.au> | 2015-02-24 13:39:57 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2015-02-24 13:39:57 +1100 |
commit | ef342ab1ce6fb9a4b30186c89c309d0ae9d0eeb4 (patch) | |
tree | e7e7044d451e9ef72f69f9e4ae95d76933b972ce | |
parent | dcc8997d116f615195aa7c9ec019fb36c28c6228 (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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -47,6 +47,7 @@ int buffer_get_ret(Buffer *, void *, u_int); | |||
47 | int buffer_consume_ret(Buffer *, u_int); | 47 | int buffer_consume_ret(Buffer *, u_int); |
48 | int buffer_consume_end_ret(Buffer *, u_int); | 48 | int buffer_consume_end_ret(Buffer *, u_int); |
49 | 49 | ||
50 | #include <openssl/objects.h> | ||
50 | #include <openssl/bn.h> | 51 | #include <openssl/bn.h> |
51 | void buffer_put_bignum(Buffer *, const BIGNUM *); | 52 | void buffer_put_bignum(Buffer *, const BIGNUM *); |
52 | void buffer_put_bignum2(Buffer *, const BIGNUM *); | 53 | void buffer_put_bignum2(Buffer *, const BIGNUM *); |