diff options
-rw-r--r-- | src/responder/common/negcache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/responder/common/negcache.c b/src/responder/common/negcache.c index 88dd18fa5..70bb8ba66 100644 --- a/src/responder/common/negcache.c +++ b/src/responder/common/negcache.c @@ -116,7 +116,7 @@ static int sss_ncache_check_str(struct sss_nc_ctx *ctx, char *str, int ttl) goto done; } - if (timestamp + ttl > time(NULL)) { + if (timestamp + ttl >= time(NULL)) { /* still valid */ ret = EEXIST; goto done; |