From caaf35b192b7e75a99fe317e3f8ffe1bb4a88344 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sun, 30 Oct 2022 20:21:14 -0700 Subject: [PATCH] ibrdtnd: run through dos2unix This patch uses CRLF line endings for some reason... Signed-off-by: Rosen Penev --- ...-ibrdtnd-added-openssl-compatibility.patch | 26 +++++++++---------- 1 file 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 9ef603928c..b0ee81e3e0 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 --- /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 -+ -+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 ++ ++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 */