]> git.pld-linux.org Git - packages/dnsmasq.git/blobdiff - dnsmasq-nettle-3.5.patch
- release 3, fix build against nettle-3.5
[packages/dnsmasq.git] / dnsmasq-nettle-3.5.patch
diff --git a/dnsmasq-nettle-3.5.patch b/dnsmasq-nettle-3.5.patch
new file mode 100644 (file)
index 0000000..cbcb5cd
--- /dev/null
@@ -0,0 +1,20 @@
+--- dnsmasq-2.80/src/crypto.c~ 2018-10-18 20:21:55.000000000 +0200
++++ dnsmasq-2.80/src/crypto.c  2019-06-27 09:32:24.587948846 +0200
+@@ -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;
This page took 0.037581 seconds and 4 git commands to generate.