13c03c8d6d
Previously we would try %RANDFILE%, then %HOME% and finally "C:". Unfortunately this often ends up being "C:" which the user may not have write permission for. Now we try %RANDFILE% first, and then the same set of environment vars as GetTempFile() uses, i.e. %TMP%, then %TEMP%, %USERPROFILE% and %SYSTEMROOT%. If all else fails we fall back to %HOME% and only then "C:". Reviewed-by: Rich Salz <rsalz@openssl.org> |
||
---|---|---|
.. | ||
build.info | ||
md_rand.c | ||
rand_egd.c | ||
rand_err.c | ||
rand_lcl.h | ||
rand_lib.c | ||
rand_unix.c | ||
rand_vms.c | ||
rand_win.c | ||
randfile.c |