1
0
Fork 0
mirror of git://slackware.nl/current.git synced 2025-02-04 20:46:11 +01:00
slackware-current/source/n/dnsmasq/dnsmasq.nettle35.diff

21 lines
621 B
Diff
Raw Normal View History

--- ./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;