]> git.ipfire.org Git - thirdparty/chrony.git/commit
ntp: fix definition of minimum and maximum MAC length
authorMiroslav Lichvar <mlichvar@redhat.com>
Tue, 17 May 2016 10:49:52 +0000 (12:49 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Tue, 17 May 2016 10:57:28 +0000 (12:57 +0200)
commit5e61c002a67feb4aea758e56f830f28f7ec63f73
treeab8c410e10c1ca54bc8494717cfa6223994d0557
parent46e1e79921da34c943ea3cc220007cfdf83bb1e2
ntp: fix definition of minimum and maximum MAC length

The NTP_*_MAC_LENGTH macros didn't include the key ID, which caused the
NTP authentication check to ignore MACs with 512-bit hashes (SHA512,
WHIRLPOOL).

This was broken since update to NTPv4.
ntp.h