Home GnuPG

Remove superfluous check for positive threshold

Description

Remove superfluous check for positive threshold

If the key expires sometime in the future (i.e. status is Expires), then
the duration until expiration is positive. If the threshold is negative
(because no threshold is set), then the duration cannot be <= threshold.
This means that checking for a positive threshold is not necessary.

Details

Provenance
ikloeckerAuthored on Mar 30 2023, 11:18 AM
Parents
rLIBKLEO56ec6bd9b8de: Do not stop checking if certificate in chain never expires
Branches
Unknown
Tags
Unknown
Tasks
T6330: Kleopatra: Additional Expiry handling