CVSROOT: /cvs Module name: src Changes by: j...@cvs.openbsd.org 2023/03/12 05:54:56
Modified files: usr.sbin/rpki-client: aspa.c extern.h mft.c parser.c roa.c x509.c Log message: Refactor expiration calculation Unify common code paths which find the exact expiry moment into a new helper function. Additionally, the new helper offers more accuracy by checking more applicable CRLs whether their 'nextupdate' is 'sooner'. tb@ noted: The helper adds a multiplier of log(#crls), but that's certainly acceptable as it is still very cheap. OK tb@