Re: [Dnsmasq-discuss] [PATCH] nettle hash lookup

2018-03-17 Thread Simon Kelley
I looked at all the nettle version dependencies, and I've cleaned it up to work with nettle 3.x, but lost the legacy support for 2.x I used your nettle_hash #define trick. Cheers, Simon. On 16/03/18 12:31, Petr Menšík wrote: > Sure, similar to my original version. It requires nettle 3.1 howev

Re: [Dnsmasq-discuss] [PATCH] nettle hash lookup

2018-03-16 Thread Petr Menšík
Sure, similar to my original version. It requires nettle 3.1 however, since NETTLE_VERSION_MAJOR is not available in earlier versions. But your version is cleaner, fine for me. Version 3.1 was released in 2015, should be recent enough for most people. Thanks On 03/15/2018 06:14 PM, Simon Kelley w

Re: [Dnsmasq-discuss] [PATCH] nettle hash lookup

2018-03-15 Thread Simon Kelley
Convergent evolution got me to http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=f3223fbff65d8ae9d67426dce6218fda30dee0cf which achieves the same thing in a slightly different way. Are you happy with that? Cheers, Simon. On 15/03/18 16:40, Petr Menšík wrote: > Hi again, > > I rewor

Re: [Dnsmasq-discuss] [PATCH] nettle hash lookup

2018-03-15 Thread Petr Menšík
Hi again, I reworked the original patch to contain fallback for older version of nettle. It will work fine on more recent version (should be a bit faster than original code), but still will compile for older libraries. On 02/26/2018 09:12 PM, Petr Menšík wrote: > Hi again, > > We at Fedora use d

Re: [Dnsmasq-discuss] [PATCH] nettle hash lookup

2018-03-06 Thread Simon Kelley
Explanation is the root cause of the problem at https://github.com/ShiftMediaProject/nettle/blob/master/NEWS, line 56 onwards. This has been causing bug reports from Debian too, and at least one failed attempt to solve the problem without really understanding it. I applied the equivalent of your