uuid: Use current time to compute sha.
authorGurucharan Shetty <gshetty@nicira.com>
Mon, 10 Mar 2014 16:18:50 +0000 (09:18 -0700)
committerGurucharan Shetty <gshetty@nicira.com>
Wed, 12 Mar 2014 16:15:23 +0000 (09:15 -0700)
commit7273a0e19f4a55d72e59884489129627103bbb99
tree1c4189631db9ca4d49e9feac0417b9fd7fcfa3b1
parentdaa04db864882c1b0a479a4b292134ad3286b965
uuid: Use current time to compute sha.

Windows does not have the getppid(), getuid(), getgid() functions.
We do get a random seed from CryptGenRandom(). That seed along with
process id and current time hopefully is good enough.

Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
lib/uuid.c