Windows: RAND_file_name() should look up profile path
commit9b466f35fb8cecaea1dc893adcbac65959feeb0a
authorAsanka Herath <asanka@secure-endpoints.com>
Fri, 18 Jun 2010 20:23:21 +0000 (18 16:23 -0400)
committerAsanka Herath <asanka@secure-endpoints.com>
Fri, 20 Aug 2010 17:09:45 +0000 (20 13:09 -0400)
tree839af5365ee74715a5fd906dad42a52a4aae1560
parent12909ec1096ac2b22fc189c8c5ad40635ef3a09f
Windows: RAND_file_name() should look up profile path

If RANDFILE and HOME environment variables aren't defined, failover to
looking up the user's profile path.  In particular, default to a file
named .rnd in the user's local (non-roamin) application data
directory.
lib/hcrypto/rand.c