From 4f59b28f16b965de715c1f5d38e65a36b0d4573c Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sat, 12 Apr 2014 21:50:58 -0400 Subject: Fix epoch value It was off by a factor of 10 --- src/ntlm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ntlm.c') diff --git a/src/ntlm.c b/src/ntlm.c index b0729f1..01de87f 100644 --- a/src/ntlm.c +++ b/src/ntlm.c @@ -219,7 +219,7 @@ void ntlm_free_buffer_data(struct ntlm_buffer *buf) /* A FILETIME structure is effectively a little endian 64 bit integer * with the time from January 1, 1601 UTC with 10s of microsecond resolution. */ -#define FILETIME_EPOCH_VALUE 11644473600000000LL +#define FILETIME_EPOCH_VALUE 116444736000000000LL uint64_t ntlm_timestamp_now(void) { struct timeval tv; -- cgit