summaryrefslogtreecommitdiff
path: root/data/aria2/dhparms.diff
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2019-05-16 14:06:36 -1000
committerSam Bingner <sam@bingner.com>2019-05-16 14:06:36 -1000
commitbb0ff1d78a610028f4789a417833fa7be7343a29 (patch)
tree9993ffe9c689ff59df881cb091ad91d483da7171 /data/aria2/dhparms.diff
parent7774a1151eecd2da04beb9eae4886f44e9481d7e (diff)
Aria2 updates
Diffstat (limited to 'data/aria2/dhparms.diff')
-rw-r--r--data/aria2/dhparms.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/data/aria2/dhparms.diff b/data/aria2/dhparms.diff
new file mode 100644
index 000000000..9f830f318
--- /dev/null
+++ b/data/aria2/dhparms.diff
@@ -0,0 +1,12 @@
+diff -ur aria2-1.34.0/src/AppleTLSSession.cc aria2-1.34.0+iPhone/src/AppleTLSSession.cc
+--- aria2-1.34.0/src/AppleTLSSession.cc 2018-05-15 02:33:25.000000000 -1000
++++ aria2-1.34.0+iPhone/src/AppleTLSSession.cc 2019-05-16 13:44:10.000000000 -1000
+@@ -481,7 +481,7 @@
+ }
+
+ #ifndef CIPHER_NO_DHPARAM
+- lastError_ = SSLSetDiffieHellmanParams(sslCtx_, dhparam, sizeof(dhparam));
++ lastError_ = _SSLSetDiffieHellmanParams(sslCtx_, dhparam, sizeof(dhparam));
+ if (lastError_ != noErr) {
+ A2_LOG_WARN(fmt("AppleTLS: Failed to set DHParams: %s",
+ getLastErrorString().c_str()));