diff options
Diffstat (limited to 'kbx/keybox-update.c')
-rw-r--r-- | kbx/keybox-update.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kbx/keybox-update.c b/kbx/keybox-update.c index e09fefc41..66430c848 100644 --- a/kbx/keybox-update.c +++ b/kbx/keybox-update.c @@ -675,7 +675,7 @@ keybox_compress (KEYBOX_HANDLE hd) { u32 last_maint = buf32_to_u32 (buffer+20); - if ( (last_maint + 3*3600) > time (NULL) ) + if ( (last_maint + 3*3600) < make_timestamp () ) { fclose (fp); _keybox_release_blob (blob); |