summaryrefslogtreecommitdiffstats
path: root/source/n/dnsmasq/dnsmasq.nettle35.diff
blob: f90b1a4901bb2601651eea54b555bd60bdfe3b1d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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;