Re: [Dnsmasq-discuss] [PATCH dnsmasq] crypto: use nettle ecc_curve access functions

2019-08-14 Thread Simon Kelley
Vladislav's patch looks better, for backward compatibility reasons. Merged into git repo. Simon. On 11/08/2019 13:10, Dominik wrote: > Does this patch break compatibility with nettle < 3.4? > > The solution offered here seems to be better: > https://github.com/themiron/dnsmasq/commit/6fd9aba7ab

Re: [Dnsmasq-discuss] [PATCH dnsmasq] crypto: use nettle ecc_curve access functions

2019-08-11 Thread Dominik
Does this patch break compatibility with nettle < 3.4? The solution offered here seems to be better: https://github.com/themiron/dnsmasq/commit/6fd9aba7abe1e084123bc5002959350897774ace Best, Dominik On Sat, 2019-08-10 at 13:30 +0200, Hans Dedecker wrote: > Nettle 3.5.1 has made ecc_curve definit

[Dnsmasq-discuss] [PATCH dnsmasq] crypto: use nettle ecc_curve access functions

2019-08-10 Thread Hans Dedecker
Nettle 3.5.1 has made ecc_curve definitions (nettle_secp_192r1, nettle_secp_224r1, nettle_secp_256r1, ...) private and forces users to make use of the accessor functions (nettle_get_secp_192r1, ...) to retrieve the specific ecc_curve structs. Signed-off-by: Hans Dedecker --- src/crypto.c | 4 ++-