diff --git a/cryptfs.c b/cryptfs.c index 7976e11..a424b69 100644 --- a/cryptfs.c +++ b/cryptfs.c @@ -3742,7 +3742,7 @@ int cryptfs_get_password_type(void) char* cryptfs_get_password() { struct timespec now; - clock_gettime(CLOCK_MONOTONIC, &now); + clock_gettime(CLOCK_BOOTTIME, &now); if (now.tv_sec < password_expiry_time) { return password; } else {