]> git.ipfire.org Git - thirdparty/chrony.git/commit
nts: allow missing SIV support
authorMiroslav Lichvar <mlichvar@redhat.com>
Wed, 3 Jun 2020 09:03:00 +0000 (11:03 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 4 Jun 2020 12:50:17 +0000 (14:50 +0200)
commitcf10ce1b683f8a25f8e920753f3720e97dd1549f
tree723c918ecfd86f0a1245be1e62bef9e91a817ae8
parent15dc83420de766ded0cc0c9198df0dd005b9ec6e
nts: allow missing SIV support

When compiled with NTS support, don't require a SIV cipher to be always
supported (e.g. due to a different version of a library used for
building). Handle this case with a fatal message instead of crash.
Also, check the support early in the client unit test to prevent a hang.
nts_ke_server.c
nts_ntp_server.c
test/unit/nts_ntp_client.c