Skip to content

Commit

Permalink
Log a warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
partim committed Mar 20, 2024
1 parent cf049eb commit fb75009
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -710,6 +710,11 @@ impl<'a, P: ProcessRun> PubPoint<'a, P> {
// manifest.
if let Some(mft) = store.manifest() {
if collected.content.manifest_number() <= mft.manifest_number() {
warn!(
"{}: manifest number is smaller than in stored version. \
Using stored publication point.",
self.cert.rpki_manifest(),
);
return Ok(Err(self))
}
}
Expand Down

0 comments on commit fb75009

Please sign in to comment.