summaryrefslogtreecommitdiffstats
path: root/source/n/dnsmasq/dnsmasq.nettle35.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/dnsmasq/dnsmasq.nettle35.diff')
-rw-r--r--source/n/dnsmasq/dnsmasq.nettle35.diff20
1 files changed, 20 insertions, 0 deletions
diff --git a/source/n/dnsmasq/dnsmasq.nettle35.diff b/source/n/dnsmasq/dnsmasq.nettle35.diff
new file mode 100644
index 000000000..f90b1a490
--- /dev/null
+++ b/source/n/dnsmasq/dnsmasq.nettle35.diff
@@ -0,0 +1,20 @@
+--- ./src/crypto.c.orig 2018-10-18 13:21:55.000000000 -0500
++++ ./src/crypto.c 2020-02-22 13:04:53.071018567 -0600
+@@ -294,7 +294,7 @@
+ if (!(key_256 = whine_malloc(sizeof(struct ecc_point))))
+ return 0;
+
+- nettle_ecc_point_init(key_256, &nettle_secp_256r1);
++ nettle_ecc_point_init(key_256, nettle_get_secp_256r1());
+ }
+
+ key = key_256;
+@@ -307,7 +307,7 @@
+ if (!(key_384 = whine_malloc(sizeof(struct ecc_point))))
+ return 0;
+
+- nettle_ecc_point_init(key_384, &nettle_secp_384r1);
++ nettle_ecc_point_init(key_384, nettle_get_secp_384r1());
+ }
+
+ key = key_384;