diff options
Diffstat (limited to 'src/cookie.h')
-rw-r--r-- | src/cookie.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cookie.h b/src/cookie.h index 9f519ef..e83c256 100644 --- a/src/cookie.h +++ b/src/cookie.h @@ -15,13 +15,13 @@ struct cookie_checker { u8 secret[NOISE_HASH_LEN]; u8 cookie_encryption_key[NOISE_SYMMETRIC_KEY_LEN]; u8 message_mac1_key[NOISE_SYMMETRIC_KEY_LEN]; - u64 secret_birthdate; + ktime_t secret_birthdate; struct rw_semaphore secret_lock; struct wireguard_device *device; }; struct cookie { - u64 birthdate; + ktime_t birthdate; bool is_valid; u8 cookie[COOKIE_LEN]; bool have_sent_mac1; |