exchangeid: use higher resolution client verifier
use GetTickCount64() for EXCHANGE_ID's client verifier instead of time(). the higher resolution helps prevent conflicting verifiers Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
This commit is contained in:
parent
14d2b30c2c
commit
bd21801819
1 changed files with 1 additions and 2 deletions
|
|
@ -482,11 +482,10 @@ int nfs41_client_owner(
|
|||
HCRYPTHASH hash;
|
||||
PBYTE buffer;
|
||||
DWORD length;
|
||||
const time_t time_created = time(NULL);
|
||||
const ULONGLONG time_created = GetTickCount64();
|
||||
int status;
|
||||
|
||||
/* owner.verifier = "time created" */
|
||||
ZeroMemory(owner->co_verifier, sizeof(owner->co_verifier));
|
||||
memcpy(owner->co_verifier, &time_created, sizeof(time_created));
|
||||
|
||||
/* set up the md5 hash generator */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue