summaryrefslogtreecommitdiff
path: root/packages/net-misc/tor/files/libressl.patch
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-07-05 01:41:34 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-07-05 01:41:34 +0300
commit6f445714a1af182d137574c195b3c8d5703a3dda (patch)
treeb0ddbeb126e00c885e5f00c32e576e0f7ebb5a15 /packages/net-misc/tor/files/libressl.patch
parent5439590e63754909635ee45bfdd3a36f060703d2 (diff)
tor: libressl build patch
Diffstat (limited to 'packages/net-misc/tor/files/libressl.patch')
-rw-r--r--packages/net-misc/tor/files/libressl.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/net-misc/tor/files/libressl.patch b/packages/net-misc/tor/files/libressl.patch
new file mode 100644
index 0000000..e448031
--- /dev/null
+++ b/packages/net-misc/tor/files/libressl.patch
@@ -0,0 +1,17 @@
+diff --git a/src/lib/crypt_ops/crypto_hkdf.c b/src/lib/crypt_ops/crypto_hkdf.c
+index 0200d0fe9..30e276d5d 100644
+--- a/src/lib/crypt_ops/crypto_hkdf.c
++++ b/src/lib/crypt_ops/crypto_hkdf.c
+@@ -19,10 +19,10 @@
+
+ #include <openssl/opensslv.h>
+
+-#if OPENSSL_VERSION_NUMBER >= OPENSSL_V_SERIES(1,1,0)
++/*#if OPENSSL_VERSION_NUMBER >= OPENSSL_V_SERIES(1,1,0)
+ #define HAVE_OPENSSL_HKDF 1
+ #include <openssl/kdf.h>
+-#endif
++#endif */
+
+ #include <string.h>
+