aboutsummaryrefslogtreecommitdiff
path: root/net/dnscrypt-proxy/patches
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2019-06-21 12:27:47 -0700
committerRosen Penev <rosenp@gmail.com>2019-06-22 11:16:48 -0700
commit71f9b042d8fb4a9ebc87c3ce75c4757e4af73928 (patch)
treee154c5bb452573393d37d001761b1fbee0c4c5a8 /net/dnscrypt-proxy/patches
parentc33a3ff08730c8fc7e0b199a1a75d71fe349f707 (diff)
dnscrypt-proxy: Update to latest git revision
Includes a security fix. Fixed usage with latest libsodium. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'net/dnscrypt-proxy/patches')
-rw-r--r--net/dnscrypt-proxy/patches/010-internal.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/dnscrypt-proxy/patches/010-internal.patch b/net/dnscrypt-proxy/patches/010-internal.patch
new file mode 100644
index 000000000..f10a85f1b
--- /dev/null
+++ b/net/dnscrypt-proxy/patches/010-internal.patch
@@ -0,0 +1,11 @@
+--- a/src/proxy/app.c
++++ b/src/proxy/app.c
+@@ -391,7 +391,7 @@ dnscrypt_proxy_main(int argc, char *argv[])
+ }
+ logger_noformat(&proxy_context, LOG_NOTICE, "Starting " PACKAGE_STRING);
+ sodium_mlock(&proxy_context, sizeof proxy_context);
+- randombytes_set_implementation(&randombytes_salsa20_implementation);
++ randombytes_set_implementation(&randombytes_internal_implementation);
+
+ #ifdef PLUGINS
+ if (plugin_support_context_load(app_context.dcps_context) != 0) {