]> git.ipfire.org Git - thirdparty/chrony.git/commit
nts: don't assume field position in NNA_DecryptAuthEF()
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 9 Jul 2020 11:14:55 +0000 (13:14 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 9 Jul 2020 12:47:33 +0000 (14:47 +0200)
commitde4ecc72d19418151d7760bced9c39da100f01ab
treed6862c4abba3626abac52324c9f71a54741f50b7
parentdb54bfc0c154f78e52601dd94d3803358c1413d1
nts: don't assume field position in NNA_DecryptAuthEF()

Modify NNA_DecryptAuthEF() to not assume that the authenticator is the
last extension field in the packet as some extension fields specified in
future may need to be placed after the authenticator. The caller of the
function is supposed to verify the position.
nts_ntp_auth.c
nts_ntp_server.c