summaryrefslogtreecommitdiffstats
path: root/crypto/rand
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2015-09-28 16:05:32 +0200
committerAndy Polyakov <appro@openssl.org>2015-09-29 18:05:55 +0200
commitdb40a14ecbb2f65bb3a86505f53db00633347f3b (patch)
tree5f12fa8653d4b198e998b5373bcb9c5f9a361421 /crypto/rand
parent156561b0ade98b22df0e3ebc63682e54129c2cb4 (diff)
Fix -Wshadow warnings in mingw builds.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/rand')
-rw-r--r--crypto/rand/rand_win.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/rand/rand_win.c b/crypto/rand/rand_win.c
index e926429e7f..a91014bad3 100644
--- a/crypto/rand/rand_win.c
+++ b/crypto/rand/rand_win.c
@@ -196,7 +196,7 @@ typedef NET_API_STATUS(NET_API_FUNCTION *NETFREE) (LPBYTE);
int RAND_poll(void)
{
- MEMORYSTATUS m;
+ MEMORYSTATUS mst;
HCRYPTPROV hProvider = 0;
DWORD w;
int good = 0;
@@ -558,8 +558,8 @@ int RAND_poll(void)
readtimer();
/* memory usage statistics */
- GlobalMemoryStatus(&m);
- RAND_add(&m, sizeof(m), 1);
+ GlobalMemoryStatus(&mst);
+ RAND_add(&mst, sizeof(mst), 1);
/* process ID */
w = GetCurrentProcessId();