commit | f3223fbff65d8ae9d67426dce6218fda30dee0cf | [log] [tgz] |
---|---|---|
author | Simon Kelley <simon@thekelleys.org.uk> | Tue Mar 06 22:55:36 2018 +0000 |
committer | Simon Kelley <simon@thekelleys.org.uk> | Tue Mar 06 22:55:36 2018 +0000 |
tree | e0c851dab4fe8ddbd7b7d9a02e415be700e49cfb | |
parent | 4c4f4c2649fad76f4d3130e32ab6ecb9d307bbe3 [diff] |
Fix nettle_hash() function to avoid ABI incompatibilities. The way of accessing the list of available hashes on nettle was vulnerable to breaking if the version of libnettle in use was different to the version dnsmasq was compiled against. Change to a new system if libnettle >= 3.4 is in use. Older versions if nettle are still OK, once 3.4 is reached, the ABi problem is fixed. Thanks to Petr Menšík for clues on this.