summaryrefslogtreecommitdiff
path: root/net/libtorrent/patches/patch-config.h.in
blob: be7c9ec25f1f693ceab5724be7d447b3906d93cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-config.h.in,v 1.1 2018/06/24 16:57:58 adam Exp $

Fix for OpenSSL 1.1.x.
https://github.com/rakshasa/libtorrent/issues/171

--- config.h.in.orig	2018-06-24 16:42:49.312535308 +0000
+++ config.h.in
@@ -215,6 +215,9 @@
 /* Using OpenSSL's SHA1 implementation. */
 #undef USE_OPENSSL_SHA
 
+/* Using OpenSSL 1.1.x. */
+#undef USE_OPENSSL_1_1
+
 /* posix_fallocate supported. */
 #undef USE_POSIX_FALLOCATE