blob: f90b1a4901bb2601651eea54b555bd60bdfe3b1d (
plain) (
tree)
|
|
--- ./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;
|