summaryrefslogtreecommitdiffstats
path: root/src/ntlm.c
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2014-04-12 21:50:58 -0400
committerSimo Sorce <simo@redhat.com>2014-04-12 21:57:06 -0400
commit4f59b28f16b965de715c1f5d38e65a36b0d4573c (patch)
tree406c1c42fcc5967521f4e519738cb33cd38d6437 /src/ntlm.c
parent6ff0b3ee4049bdfefeca57f06625d93095fbf5a5 (diff)
downloadgss-ntlmssp-4f59b28f16b965de715c1f5d38e65a36b0d4573c.tar.gz
gss-ntlmssp-4f59b28f16b965de715c1f5d38e65a36b0d4573c.tar.xz
gss-ntlmssp-4f59b28f16b965de715c1f5d38e65a36b0d4573c.zip
Fix epoch value
It was off by a factor of 10
Diffstat (limited to 'src/ntlm.c')
-rw-r--r--src/ntlm.c2
1 files changed, 1 insertions, 1 deletions
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;