aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crypto/rand/randfile.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/crypto/rand/randfile.c b/crypto/rand/randfile.c
index 87cb6c013b..c322268303 100644
--- a/crypto/rand/randfile.c
+++ b/crypto/rand/randfile.c
@@ -287,11 +287,6 @@ const char *RAND_file_name(char *buf, size_t size)
return NULL;
} else {
#ifdef OPENSSL_SYS_WINDOWS
- /*
- * We use the same env variables as GetTempFile() - but that function
- * uses TCHARs, but getenv() gives us chars so its easier to do it this
- * way
- */
if ((s = getenv("HOME")) == NULL
&& (s = getenv("USERPROFILE")) == NULL) {
s = getenv("SYSTEMROOT");