ibrdtnd: run through dos2unix
authorRosen Penev <rosenp@gmail.com>
Mon, 31 Oct 2022 03:21:14 +0000 (20:21 -0700)
committerRosen Penev <rosenp@gmail.com>
Mon, 31 Oct 2022 19:27:45 +0000 (12:27 -0700)
This patch uses CRLF line endings for some reason...

Signed-off-by: Rosen Penev <rosenp@gmail.com>
net/ibrdtnd/patches/0001-ibrdtnd-added-openssl-compatibility.patch

index 9ef603928c40d4eb3f3795601a5b61707effab39..b0ee81e3e0bc4d0a6550f633b84aedcfa3c96b4a 100644 (file)
@@ -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\r
-+#define LIBCRYPTO_COMPAT_H\r
-+\r
-+#if OPENSSL_VERSION_NUMBER < 0x10100000L\r
-+\r
-+#include <openssl/dh.h>\r
-+\r
-+void DH_get0_pqg(const DH *dh, const BIGNUM **p, const BIGNUM **q, const BIGNUM **g);\r
-+int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);\r
-+void DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key);\r
-+\r
-+#endif /* OPENSSL_VERSION_NUMBER */\r
-+#endif /* LIBCRYPTO_COMPAT_H */\r
++#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 */