]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
Shuffle the order in which Manifest entries are processed 139/head
authorJob Snijders <job@sobornost.net>
Thu, 13 Jun 2024 18:21:36 +0000 (18:21 +0000)
committerJob Snijders <job@sobornost.net>
Thu, 13 Jun 2024 18:21:36 +0000 (18:21 +0000)
commit7088ea4bf9d8ec0ff6230c89bd25dc63fe393ecb
tree9d3ef1781d6e9e390c4087194c6639c8d4f013a6
parent5b707aa041348856d58a7a27992ee4d5a5f43551
Shuffle the order in which Manifest entries are processed

Previously work items were enqueued in the order the CA intended them
to appear on a Manifest. However, there is no obvious benefit to letting
third parties decide the order in which objects are processed.

Instead, randomize the list of FileAndHashes, its ordering has no meaning
anyway. As they say, a fox is not taken twice in the same snare
src/object/manifest.c