summaryrefslogtreecommitdiff
path: root/packages/net-misc/tor/files/libressl.patch
diff options
context:
space:
mode:
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>
+