mirror of
https://github.com/systemd/systemd.git
synced 2025-01-12 13:18:14 +03:00
resolved: make expiration error recognizable
This commit is contained in:
parent
c9ad0edbab
commit
2a44bec4f6
@ -228,7 +228,7 @@ static int dnssec_rrsig_expired(DnsResourceRecord *rrsig, usec_t realtime) {
|
||||
inception = rrsig->rrsig.inception * USEC_PER_SEC;
|
||||
|
||||
if (inception > expiration)
|
||||
return -EINVAL;
|
||||
return -EKEYREJECTED;
|
||||
|
||||
/* Permit a certain amount of clock skew of 10% of the valid time range */
|
||||
skew = (expiration - inception) / 10;
|
||||
|
Loading…
Reference in New Issue
Block a user