projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
876a1a8
)
rand/randfile.c: remove obsolete commentary.
author
Andy Polyakov
<appro@openssl.org>
Mon, 20 Jun 2016 11:22:46 +0000
(13:22 +0200)
committer
Andy Polyakov
<appro@openssl.org>
Mon, 20 Jun 2016 11:28:13 +0000
(13:28 +0200)
Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/rand/randfile.c
patch
|
blob
|
history
diff --git
a/crypto/rand/randfile.c
b/crypto/rand/randfile.c
index 87cb6c013b40c4f168a693dd30c2a2fcade86d68..c3222683034e96ec7c738562d3158a518dda1e7d 100644
(file)
--- 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");