If the two mfts in mft_compare() are the same do not prefer the
authorclaudio <claudio@openbsd.org>
Mon, 24 Apr 2023 17:11:33 +0000 (17:11 +0000)
committerclaudio <claudio@openbsd.org>
Mon, 24 Apr 2023 17:11:33 +0000 (17:11 +0000)
commit73a8ca21d41da9184060a561b4ff3a701be6ef5e
tree6e37547e8d002b0961382ce9bc0b1fe703290e71
parente6e736d9bea7dad719b3d096ab50ba9005e956ac
If the two mfts in mft_compare() are the same do not prefer the
first (DIR_VALID) but perfer the 2nd (DIR_TEMP) since this allows
rpki-client to move the equal files from .rrdp back into the valid
repo tree and so there are less unaccounted files for.
Problem noticed by and OK job@
usr.sbin/rpki-client/mft.c