aboutsummaryrefslogtreecommitdiffstats
path: root/src/entropy
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-11-23 18:14:12 +0000
committerlloyd <[email protected]>2008-11-23 18:14:12 +0000
commit80765fbb60959a6b5da7863e2c8dcfb53aeecf20 (patch)
tree2b7611f940195837ccafb07e4bcbaecb79d6428b /src/entropy
parent36c4e419e899f650d32712594fc947f9f7960992 (diff)
Use template version of xor_into_buf in es_unix
Diffstat (limited to 'src/entropy')
-rw-r--r--src/entropy/unix_procs/es_unix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entropy/unix_procs/es_unix.cpp b/src/entropy/unix_procs/es_unix.cpp
index 2b0d1f0e7..853834178 100644
--- a/src/entropy/unix_procs/es_unix.cpp
+++ b/src/entropy/unix_procs/es_unix.cpp
@@ -84,7 +84,7 @@ u32bit Unix_EntropySource::fast_poll(byte buf[], u32bit length)
};
for(u32bit i = 0; i != sizeof(ids); ++i)
- buf_i = xor_into_buf(buf, buf_i, length, &ids[i], sizeof(ids[i]));
+ buf_i = xor_into_buf(buf, buf_i, length, ids[i]);
struct ::rusage usage;