projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aca0160
)
Removed unused variable from non-Linux builds
author
Jouni Malinen
<jouni.malinen@atheros.com>
Tue, 14 Dec 2010 15:10:39 +0000
(17:10 +0200)
committer
Jouni Malinen
<j@w1.fi>
Tue, 14 Dec 2010 15:10:39 +0000
(17:10 +0200)
src/crypto/random.c
patch
|
blob
|
history
diff --git
a/src/crypto/random.c
b/src/crypto/random.c
index
ab8e882
..
64180a1
100644
(file)
--- a/
src/crypto/random.c
+++ b/
src/crypto/random.c
@@
-51,7
+51,9
@@
static u32 pool[POOL_WORDS];
static unsigned int input_rotate = 0;
static unsigned int pool_pos = 0;
static u8 dummy_key[20];
+#ifdef __linux__
static size_t dummy_key_avail = 0;
+#endif /* __linux__ */
static unsigned int own_pool_ready = 0;
#define MIN_COLLECT_ENTROPY 1000