diff options
Diffstat (limited to 'net/ibrdtnd')
-rw-r--r-- | net/ibrdtnd/patches/0001-ibrdtnd-added-openssl-compatibility.patch | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/net/ibrdtnd/patches/0001-ibrdtnd-added-openssl-compatibility.patch b/net/ibrdtnd/patches/0001-ibrdtnd-added-openssl-compatibility.patch index 9ef603928..b0ee81e3e 100644 --- a/net/ibrdtnd/patches/0001-ibrdtnd-added-openssl-compatibility.patch +++ b/net/ibrdtnd/patches/0001-ibrdtnd-added-openssl-compatibility.patch @@ -174,16 +174,16 @@ Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com> --- /dev/null +++ b/src/security/exchange/openssl_compat.h @@ -0,0 +1,13 @@ -+#ifndef LIBCRYPTO_COMPAT_H
-+#define LIBCRYPTO_COMPAT_H
-+
-+#if OPENSSL_VERSION_NUMBER < 0x10100000L
-+
-+#include <openssl/dh.h>
-+
-+void DH_get0_pqg(const DH *dh, const BIGNUM **p, const BIGNUM **q, const BIGNUM **g);
-+int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
-+void DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key);
-+
-+#endif /* OPENSSL_VERSION_NUMBER */
-+#endif /* LIBCRYPTO_COMPAT_H */
++#ifndef LIBCRYPTO_COMPAT_H ++#define LIBCRYPTO_COMPAT_H ++ ++#if OPENSSL_VERSION_NUMBER < 0x10100000L ++ ++#include <openssl/dh.h> ++ ++void DH_get0_pqg(const DH *dh, const BIGNUM **p, const BIGNUM **q, const BIGNUM **g); ++int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); ++void DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key); ++ ++#endif /* OPENSSL_VERSION_NUMBER */ ++#endif /* LIBCRYPTO_COMPAT_H */ |