CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2020/04/01 08:15:49
Modified files:
usr.sbin/rpki-client: extern.h main.c mft.c
Log message:
Split the mft file and hash check from the mft parsing. This makes it easier
to check all files in a mft before failing and also the check is now done
after the embedded cert was checked.
This refactor was triggered because of a bug in mft_parse_econtent().
check_validity() altered rc but later failure code assumed that goto out
is good enough to return an error (rc == -1) but since rc was 1 success
was returned. This bug is now also fixed.
Bug report and OK job@