]> git.ipfire.org Git - thirdparty/chrony.git/commit
hash: add support for older nettle versions
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 15 Mar 2018 07:18:29 +0000 (08:18 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 15 Mar 2018 08:00:09 +0000 (09:00 +0100)
commitfeca2399e416c0dee9107913b19fe1a84136a589
treed89309bafd3260279d06c079f69d0bae466678ee
parentd34e611ec8f12ca26bd79348a70b1c098460e28f
hash: add support for older nettle versions

Use nettle_hashes[] instead of nettle_get_hashes(), which is available
only in nettle >= 3.4. nettle_hashes[] is a symbol available in older
versions and may be renamed in future. In nettle >= 3.4 it is a macro
using nettle_get_hashes() for compatibility.
configure
hash_nettle.c